summaryrefslogtreecommitdiffstats
path: root/sbin/startslip
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1996-04-13 15:47:43 +0000
committerbde <bde@FreeBSD.org>1996-04-13 15:47:43 +0000
commit13e9cefca0160e0dd0c48849c164fcaf88c8cd35 (patch)
tree24e2b196a731ca6343f80da78476874f5b1d3116 /sbin/startslip
parentdd1ec21349d0fb115e409df4ccab7c4312bb9535 (diff)
downloadFreeBSD-src-13e9cefca0160e0dd0c48849c164fcaf88c8cd35.zip
FreeBSD-src-13e9cefca0160e0dd0c48849c164fcaf88c8cd35.tar.gz
Fixed a couple of format strings to match the change of pid_t from long
to int32_t. I only fixed the ones that I noticed the warnings for. Perhaps most of the format strings are correct now because they were wrong before. Except of course if int32_t isn't compatible with `int'.
Diffstat (limited to 'sbin/startslip')
-rw-r--r--sbin/startslip/uucplock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/startslip/uucplock.c b/sbin/startslip/uucplock.c
index 2a08bae..1f19b1b 100644
--- a/sbin/startslip/uucplock.c
+++ b/sbin/startslip/uucplock.c
@@ -139,7 +139,7 @@ static int put_pid (int fd, pid_t pid)
char buf[32];
int len;
- len = sprintf (buf, "%10ld\n", pid);
+ len = sprintf (buf, "%10d\n", pid);
return write (fd, buf, len) == len;
}
OpenPOWER on IntegriCloud