chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
don't use 'long long' unless we have a really good reason to
[elogind.git]
/
src
/
manager.c
diff --git
a/src/manager.c
b/src/manager.c
index e211ecaf56c3851fb63268e3c8c4e4a2e7c125ab..da42d7d78b573e5a366a04861a442416a51b43b1 100644
(file)
--- a/
src/manager.c
+++ b/
src/manager.c
@@
-1701,7
+1701,7
@@
static int manager_dispatch_sigchld(Manager *m) {
char *name = NULL;
get_process_name(si.si_pid, &name);
char *name = NULL;
get_process_name(si.si_pid, &name);
- log_debug("Got SIGCHLD for process %l
lu (%s)", (unsigned long
long) si.si_pid, strna(name));
+ log_debug("Got SIGCHLD for process %l
u (%s)", (unsigned
long) si.si_pid, strna(name));
free(name);
}
free(name);
}
@@
-1727,8
+1727,8
@@
static int manager_dispatch_sigchld(Manager *m) {
if (si.si_code != CLD_EXITED && si.si_code != CLD_KILLED && si.si_code != CLD_DUMPED)
continue;
if (si.si_code != CLD_EXITED && si.si_code != CLD_KILLED && si.si_code != CLD_DUMPED)
continue;
- log_debug("Child %l
l
u died (code=%s, status=%i/%s)",
- (long
long
unsigned) si.si_pid,
+ log_debug("Child %lu died (code=%s, status=%i/%s)",
+ (long unsigned) si.si_pid,
sigchld_code_to_string(si.si_code),
si.si_status,
strna(si.si_code == CLD_EXITED ? exit_status_to_string(si.si_status) : strsignal(si.si_status)));
sigchld_code_to_string(si.si_code),
si.si_status,
strna(si.si_code == CLD_EXITED ? exit_status_to_string(si.si_status) : strsignal(si.si_status)));