From e85dbae3896eaf26a591a34bc5e827f55ea8e041 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Fri, 23 Nov 2007 03:41:20 +0000 Subject: [PATCH] logread: add forgotten INIT_G(); --- sysklogd/logread.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sysklogd/logread.c b/sysklogd/logread.c index 51fb7a0ba..62846463c 100644 --- a/sysklogd/logread.c +++ b/sysklogd/logread.c @@ -75,6 +75,8 @@ int logread_main(int argc, char **argv) int log_shmid; /* ipc shared memory id */ smallint follow = getopt32(argv, "f"); + INIT_G(); + log_shmid = shmget(KEY_ID, 0, 0); if (log_shmid == -1) bb_perror_msg_and_die("can't find syslogd buffer"); -- 2.25.1