projects
/
petitboot
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
discover: Clear default-boot-device when invalidated
[petitboot]
/
discover
/
parser-conf.c
diff --git
a/discover/parser-conf.c
b/discover/parser-conf.c
index 3154a463c6908a5ea4b3e05a15b10c3f5bc468a4..5f2b9787303d3102033662f08cf2477c23a78b60 100644
(file)
--- a/
discover/parser-conf.c
+++ b/
discover/parser-conf.c
@@
-16,7
+16,9
@@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#define _GNU_SOURCE
+#if defined(HAVE_CONFIG_H)
+#include "config.h"
+#endif
#include <assert.h>
#include <ctype.h>
#include <assert.h>
#include <ctype.h>
@@
-181,7
+183,7
@@
int conf_set_global_option(struct conf_context *conf, const char *name,
if (streq(name, conf->global_options[i].name)) {
conf->global_options[i].value
= talloc_strdup(conf, value);
if (streq(name, conf->global_options[i].name)) {
conf->global_options[i].value
= talloc_strdup(conf, value);
- pb_
lo
g("%s: %s = '%s'\n", __func__, name, value);
+ pb_
debu
g("%s: %s = '%s'\n", __func__, name, value);
return 1;
}
}
return 1;
}
}