diff options
| author | Lou Berger <lberger@labn.net> | 2018-03-28 10:30:54 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-03-28 10:30:54 -0400 |
| commit | 615e608d76bd3e1acf1769c914142210ac88e3f7 (patch) | |
| tree | 1159398cc86aa18901a73480303fb52e09b1f9cc /lib/pid_output.c | |
| parent | 79968d2e0bb21485f47934fe4110ab33da8803c7 (diff) | |
| parent | d7c0a89a3a5697783a6dd89333ab660074790890 (diff) | |
Merge pull request #1854 from qlyoung/integer-standards-compliance
*: use C99 standard fixed-width integer types
Diffstat (limited to 'lib/pid_output.c')
| -rw-r--r-- | lib/pid_output.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/pid_output.c b/lib/pid_output.c index 9a7307bc4f..023a166f27 100644 --- a/lib/pid_output.c +++ b/lib/pid_output.c @@ -71,7 +71,8 @@ pid_t pid_output(const char *path) else if (ftruncate(fd, pidsize) < 0) zlog_err( "Could not truncate pid_file %s to %u bytes: %s", - path, (u_int)pidsize, safe_strerror(errno)); + path, (unsigned int)pidsize, + safe_strerror(errno)); } return pid; } |
