Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorErik Andersen <andersen@codepoet.org>2000-01-29 10:06:24 +0300
committerErik Andersen <andersen@codepoet.org>2000-01-29 10:06:24 +0300
commit04e97024e78f452526f710a5b3969c78a65f2b33 (patch)
treed5eba84927f0426038db2a1ef3b8b241996fd420 /init
parenta6d0dbc86fd8a84f9c2a05f77013bd3eb5efa697 (diff)
Clear up some ambiguity with old style assignments.
-Erik
Diffstat (limited to 'init')
-rw-r--r--init/init.c4
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, ...)
}
#else
- static int log_fd=-1;
+ static int log_fd = -1;
/* Take full control of the log tty, and never close it.
* It's mine, all mine! Muhahahaha! */
@@ -166,7 +166,7 @@ void message(int device, char *fmt, ...)
device = CONSOLE;
}
else if ((log_fd = device_open(log, O_RDWR|O_NDELAY)) < 0) {
- log_fd=-1;
+ log_fd = -1;
fprintf(stderr, "Bummer, can't write to log on %s!\r\n", log);
fflush(stderr);
return;