]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/core/service.c
Use format patterns for usec_t, pid_t, nsec_t, usec_t
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 30 Dec 2013 22:22:26 +0000 (17:22 -0500)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 3 Jan 2014 00:45:47 +0000 (19:45 -0500)
commitccd06097c79218f7d5ea4c21721bbcbc7c467dca
tree168bee7d15161c2c1cba3926447162b84c761898
parentab9001a1e3dc6e60d0cdf53363dc5d18dcc382fd
Use format patterns for usec_t, pid_t, nsec_t, usec_t

It is nicer to predefine patterns using configure time check instead of
using casts everywhere.

Since we do not need to use any flags, include "%" in the format instead
of excluding it like PRI* macros.
14 files changed:
.gitignore
configure.ac
src/bus-proxyd/bus-proxyd.c
src/core/automount.c
src/core/dbus-cgroup.c
src/core/execute.c
src/core/job.c
src/core/killall.c
src/core/main.c
src/core/manager.c
src/core/mount.c
src/core/service.c
src/shared/time-util.h
src/shared/util.h