summaryrefslogtreecommitdiff
path: root/net/gated/patches/patch-ak
blob: 105facf05000637838141a0024af704e9a8c30d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ak,v 1.1 2006/06/01 22:40:19 joerg Exp $

--- src/str.c.orig	2006-06-01 22:35:58.000000000 +0000
+++ src/str.c
@@ -226,7 +226,7 @@ static char sccsid[] = "@(#)doprnt.c	5.3
 
 #define	ARG() \
 	_ulong = flags&LONGINT ? va_arg(ap, long) : \
-	    flags&SHORTINT ? va_arg(ap, short) : va_arg(ap, int);
+	    flags&SHORTINT ? va_arg(ap, int) : va_arg(ap, int);
 
 #define	todigit(c)	((c) - '0')
 #define	tochar(n)	((n) + '0')