diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-09-11 16:49:12 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-09-11 18:31:49 +0200 |
commit | aa36007ca18ece54495d108332ed21b4bf918f3b (patch) | |
tree | ea61de0f50ec99d65ac660854ebaddbe6c578a1b /src/timesync/timesyncd.c | |
parent | d53d94743c5e5e3a4a668b0c707826a90a08949a (diff) |
timesyncd: fix how we print a PID
Diffstat (limited to 'src/timesync/timesyncd.c')
-rw-r--r-- | src/timesync/timesyncd.c | 2 |
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"); |