chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ask-password: make a confused gcc shut up
[elogind.git]
/
src
/
log.c
diff --git
a/src/log.c
b/src/log.c
index a2a648a93cc8939f55ea93ed53c939b75cd067c6..b6d4bf9c1b80a4f47eb592b2dfb0e4d5011da83f 100644
(file)
--- a/
src/log.c
+++ b/
src/log.c
@@
-45,7
+45,7
@@
static bool syslog_is_stream = false;
static bool show_color = false;
static bool show_location = false;
static bool show_color = false;
static bool show_location = false;
-/* Akin to glibc's __abort_msg; which is private and we h
a
nce cannot
+/* Akin to glibc's __abort_msg; which is private and we h
e
nce cannot
* use here. */
static char *log_abort_msg = NULL;
* use here. */
static char *log_abort_msg = NULL;
@@
-74,7
+74,7
@@
static int log_open_console(void) {
return console_fd;
}
return console_fd;
}
- log_debug("Succesfully opened /dev/console for logging.");
+ log_debug("Succes
s
fully opened /dev/console for logging.");
} else
console_fd = STDERR_FILENO;
} else
console_fd = STDERR_FILENO;
@@
-100,7
+100,7
@@
static int log_open_kmsg(void) {
return -errno;
}
return -errno;
}
- log_debug("Succesfully opened /dev/kmsg for logging.");
+ log_debug("Succes
s
fully opened /dev/kmsg for logging.");
return 0;
}
return 0;
}
@@
-171,7
+171,7
@@
static int log_open_syslog(void) {
} else
syslog_is_stream = false;
} else
syslog_is_stream = false;
- log_debug("Succesfully opened syslog for logging.");
+ log_debug("Succes
s
fully opened syslog for logging.");
return 0;
return 0;