Clear up some ambiguity with old style assignments.
-Erik
This commit is contained in:
parent
a6d0dbc86f
commit
04e97024e7
11 changed files with 24 additions and 24 deletions
4
init.c
4
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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue