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:
00e56ad
)
Remove redundant initialization of lfile to reduce executable size by
author
Matt Kraai
<kraai@debian.org>
Fri, 6 Jul 2001 19:28:07 +0000
(19:28 -0000)
committer
Matt Kraai
<kraai@debian.org>
Fri, 6 Jul 2001 19:28:07 +0000
(19:28 -0000)
8192 bytes (noted by Mike Castle).
sysklogd/syslogd.c
patch
|
blob
|
history
syslogd.c
patch
|
blob
|
history
diff --git
a/sysklogd/syslogd.c
b/sysklogd/syslogd.c
index 89f5348ec94ffbd197fac8ee275873ffe33d4463..d334c50c9b3b72d0bf48f5ab65abb522ed1e574d 100644
(file)
--- a/
sysklogd/syslogd.c
+++ b/
sysklogd/syslogd.c
@@
-55,7
+55,7
@@
#define __LOG_FILE "/var/log/messages"
/* Path to the unix socket */
-static char lfile[BUFSIZ]
= ""
;
+static char lfile[BUFSIZ];
static char *logFilePath = __LOG_FILE;
diff --git
a/syslogd.c
b/syslogd.c
index 89f5348ec94ffbd197fac8ee275873ffe33d4463..d334c50c9b3b72d0bf48f5ab65abb522ed1e574d 100644
(file)
--- a/
syslogd.c
+++ b/
syslogd.c
@@
-55,7
+55,7
@@
#define __LOG_FILE "/var/log/messages"
/* Path to the unix socket */
-static char lfile[BUFSIZ]
= ""
;
+static char lfile[BUFSIZ];
static char *logFilePath = __LOG_FILE;