blob: cf36063175beea8fda91f61fc2e5194515636a78 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
$NetBSD: patch-af,v 1.1 2001/03/11 16:22:08 martin Exp $
--- clients/upslog.c.orig Tue Feb 27 05:27:32 2001
+++ clients/upslog.c Sun Mar 11 17:14:20 2001
@@ -222,7 +222,7 @@
else if (strncasecmp(cmpstr, "ETIME", 5) == 0) {
char timebuf[16];
- snprintf (timebuf, sizeof(timebuf), "%ld", tod);
+ snprintf (timebuf, sizeof(timebuf), "%ld", (unsigned long)tod);
strlcat(logbuffer, timebuf, sizeof(logbuffer));
logbufremain -= strlen(timebuf);
}
|