projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff2b6d2
)
logread: add forgotten INIT_G();
author
Denis Vlasenko
<vda.linux@googlemail.com>
Fri, 23 Nov 2007 03:41:20 +0000
(
03:41
-0000)
committer
Denis Vlasenko
<vda.linux@googlemail.com>
Fri, 23 Nov 2007 03:41:20 +0000
(
03:41
-0000)
sysklogd/logread.c
patch
|
blob
|
history
diff --git
a/sysklogd/logread.c
b/sysklogd/logread.c
index 51fb7a0ba1264f22596da5ffc7cf8d632e3b5308..62846463c4c50e72496a5c11df15e06efb4a26ad 100644
(file)
--- 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");