summaryrefslogtreecommitdiff
path: root/net/nsd/patches
diff options
context:
space:
mode:
Diffstat (limited to 'net/nsd/patches')
-rw-r--r--net/nsd/patches/patch-ab13
1 files changed, 13 insertions, 0 deletions
diff --git a/net/nsd/patches/patch-ab b/net/nsd/patches/patch-ab
new file mode 100644
index 00000000000..ffe015e931c
--- /dev/null
+++ b/net/nsd/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1 2002/09/03 14:55:05 itojun Exp $
+
+--- rfc1876.c- Tue Sep 3 23:52:42 2002
++++ rfc1876.c Tue Sep 3 23:53:02 2002
+@@ -39,7 +39,7 @@
+
+ val = mantissa * poweroften[exponent];
+
+- (void) sprintf(retbuf,"%d.%.2d", val/100, val%100);
++ (void) sprintf(retbuf,"%lu.%.2lu", val/100, val%100);
+ return (retbuf);
+ }
+