svn commit: trunk/busybox/sysklogd
vda at busybox.net
vda at busybox.net
Fri Nov 23 03:41:21 UTC 2007
Author: vda
Date: 2007-11-22 19:41:20 -0800 (Thu, 22 Nov 2007)
New Revision: 20485
Log:
logread: add forgotten INIT_G();
Modified:
trunk/busybox/sysklogd/logread.c
Changeset:
Modified: trunk/busybox/sysklogd/logread.c
===================================================================
--- trunk/busybox/sysklogd/logread.c 2007-11-23 03:39:45 UTC (rev 20484)
+++ trunk/busybox/sysklogd/logread.c 2007-11-23 03:41:20 UTC (rev 20485)
@@ -75,6 +75,8 @@
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");
More information about the busybox-cvs
mailing list