projects
/
petitboot
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ui/ncurses: in lockdown ensure system reboot in ncurses menu exit
[petitboot]
/
ui
/
common
/
ui-system.c
diff --git
a/ui/common/ui-system.c
b/ui/common/ui-system.c
index 9ab8dec0dfa36c264cea94dcd0fae36b4fb4a1c8..02142dbf303a1e993dcc39897d2773f73297cb5c 100644
(file)
--- a/
ui/common/ui-system.c
+++ b/
ui/common/ui-system.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 <errno.h>
#include <assert.h>
#include <errno.h>
@@
-76,7
+78,7
@@
unsigned int pb_elf_hash(const char *str)
h ^= g >> 24;
h &= ~g;
}
h ^= g >> 24;
h &= ~g;
}
- pb_log
("%s: %x\n", __func__
, h);
+ pb_log
_fn("%x\n"
, h);
return h;
}
return h;
}