X-Git-Url: http://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=ui%2Fcommon%2Fui-system.c;h=02142dbf303a1e993dcc39897d2773f73297cb5c;hp=9ab8dec0dfa36c264cea94dcd0fae36b4fb4a1c8;hb=c4be9490a5d94b662370576157b6e0ed73f2fe77;hpb=51c6aaf7864eb65779d548ee2549caa357f71e2c diff --git a/ui/common/ui-system.c b/ui/common/ui-system.c index 9ab8dec..02142db 100644 --- 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 */ -#define _GNU_SOURCE +#if defined(HAVE_CONFIG_H) +#include "config.h" +#endif #include #include @@ -76,7 +78,7 @@ unsigned int pb_elf_hash(const char *str) h ^= g >> 24; h &= ~g; } - pb_log("%s: %x\n", __func__, h); + pb_log_fn("%x\n", h); return h; }