summaryrefslogtreecommitdiffstats
path: root/sbin/startslip
diff options
context:
space:
mode:
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