diff options
author | Erik Andersen <andersen@codepoet.org> | 2000-01-29 07:06:24 +0000 |
---|---|---|
committer | Erik Andersen <andersen@codepoet.org> | 2000-01-29 07:06:24 +0000 |
commit | 04e97024e78f452526f710a5b3969c78a65f2b33 (patch) | |
tree | d5eba84927f0426038db2a1ef3b8b241996fd420 /init | |
parent | a6d0dbc86fd8a84f9c2a05f77013bd3eb5efa697 (diff) | |
download | busybox-w32-04e97024e78f452526f710a5b3969c78a65f2b33.tar.gz busybox-w32-04e97024e78f452526f710a5b3969c78a65f2b33.tar.bz2 busybox-w32-04e97024e78f452526f710a5b3969c78a65f2b33.zip |
Clear up some ambiguity with old style assignments.
-Erik
Diffstat (limited to 'init')
-rw-r--r-- | init/init.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/init/init.c b/init/init.c index 722ccd217..d88b64ba2 100644 --- a/init/init.c +++ b/init/init.c | |||
@@ -154,7 +154,7 @@ void message(int device, char *fmt, ...) | |||
154 | } | 154 | } |
155 | 155 | ||
156 | #else | 156 | #else |
157 | static int log_fd=-1; | 157 | static int log_fd = -1; |
158 | 158 | ||
159 | /* Take full control of the log tty, and never close it. | 159 | /* Take full control of the log tty, and never close it. |
160 | * It's mine, all mine! Muhahahaha! */ | 160 | * It's mine, all mine! Muhahahaha! */ |
@@ -166,7 +166,7 @@ void message(int device, char *fmt, ...) | |||
166 | device = CONSOLE; | 166 | device = CONSOLE; |
167 | } | 167 | } |
168 | else if ((log_fd = device_open(log, O_RDWR|O_NDELAY)) < 0) { | 168 | else if ((log_fd = device_open(log, O_RDWR|O_NDELAY)) < 0) { |
169 | log_fd=-1; | 169 | log_fd = -1; |
170 | fprintf(stderr, "Bummer, can't write to log on %s!\r\n", log); | 170 | fprintf(stderr, "Bummer, can't write to log on %s!\r\n", log); |
171 | fflush(stderr); | 171 | fflush(stderr); |
172 | return; | 172 | return; |