diff options
Diffstat (limited to 'init.c')
-rw-r--r-- | init.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |