diff options
author | 2015-01-25 17:07:21 -0500 | |
---|---|---|
committer | 2015-01-25 17:07:21 -0500 | |
commit | 2ecc6ef9a20fa44978db0c151ed8a59e8e529716 (patch) | |
tree | b3f028c98c0d82e06414d293a90a9dd97c5397a2 | |
parent | log: add new log output mode, that prints to console, but (diff) | |
download | eudev-2ecc6ef9a20fa44978db0c151ed8a59e8e529716.tar.gz eudev-2ecc6ef9a20fa44978db0c151ed8a59e8e529716.tar.bz2 eudev-2ecc6ef9a20fa44978db0c151ed8a59e8e529716.zip |
shared/util: use signed printf format for PIDs
gcc 5 started warning about this.
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
-rw-r--r-- | src/shared/util.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shared/util.h b/src/shared/util.h index c672d8dd4..010a63602 100644 --- a/src/shared/util.h +++ b/src/shared/util.h @@ -38,9 +38,9 @@ #include "config.h" #if SIZEOF_PID_T == 4 -# define PID_FMT "%" PRIu32 +# define PID_FMT "%" PRIi32 #elif SIZEOF_PID_T == 2 -# define PID_FMT "%" PRIu16 +# define PID_FMT "%" PRIi16 #else # error Unknown pid_t size #endif |