summaryrefslogtreecommitdiff
path: root/src/service.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-06-19 04:35:52 +0200
committerLennart Poettering <lennart@poettering.net>2010-06-19 04:35:52 +0200
commitbb00e604097fba830af1dc078d78aff278dfcd37 (patch)
tree01cda212012b5159e073eede2d27a93cafa0f647 /src/service.c
parent6cf6bbc2682c6df010d64ea7e49d93affa7282cd (diff)
don't use 'long long' unless we have a really good reason to
Diffstat (limited to 'src/service.c')
-rw-r--r--src/service.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/service.c b/src/service.c
index 4375cb5cb1..987320178a 100644
--- a/src/service.c
+++ b/src/service.c
@@ -904,13 +904,13 @@ static void service_dump(Unit *u, FILE *f, const char *prefix) {
if (s->control_pid > 0)
fprintf(f,
- "%sControl PID: %llu\n",
- prefix, (unsigned long long) s->control_pid);
+ "%sControl PID: %lu\n",
+ prefix, (unsigned long) s->control_pid);
if (s->main_pid > 0)
fprintf(f,
- "%sMain PID: %llu\n",
- prefix, (unsigned long long) s->main_pid);
+ "%sMain PID: %lu\n",
+ prefix, (unsigned long) s->main_pid);
if (s->pid_file)
fprintf(f,