summaryrefslogtreecommitdiff
path: root/src/timesync
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-09-11 16:49:12 +0200
committerLennart Poettering <lennart@poettering.net>2015-09-11 18:31:49 +0200
commitaa36007ca18ece54495d108332ed21b4bf918f3b (patch)
treeea61de0f50ec99d65ac660854ebaddbe6c578a1b /src/timesync
parentd53d94743c5e5e3a4a668b0c707826a90a08949a (diff)
timesyncd: fix how we print a PID
Diffstat (limited to 'src/timesync')
-rw-r--r--src/timesync/timesyncd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/timesync/timesyncd.c b/src/timesync/timesyncd.c
index 7b4178c993..3cb7d435cd 100644
--- a/src/timesync/timesyncd.c
+++ b/src/timesync/timesyncd.c
@@ -131,7 +131,7 @@ int main(int argc, char *argv[]) {
if (r < 0)
log_warning_errno(r, "Failed to parse configuration file: %m");
- log_debug("systemd-timesyncd running as pid %lu", (unsigned long) getpid());
+ log_debug("systemd-timesyncd running as pid " PID_FMT, getpid());
sd_notify(false,
"READY=1\n"
"STATUS=Daemon is running");