diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-11-23 06:41:20 +0300 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-11-23 06:41:20 +0300 |
commit | e85dbae3896eaf26a591a34bc5e827f55ea8e041 (patch) | |
tree | 84b35a03097e837e6f0e61ff1881f51aa42c5c9c /sysklogd/logread.c | |
parent | ff2b6d21853ca6417a43c06f37a32201f881245d (diff) |
logread: add forgotten INIT_G();
Diffstat (limited to 'sysklogd/logread.c')
-rw-r--r-- | sysklogd/logread.c | 2 |
1 files changed, 2 insertions, 0 deletions
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"); |