15 lines
472 B
Plaintext
15 lines
472 B
Plaintext
$OpenBSD: patch-lib_mrt_buffer_c,v 1.2 2010/05/28 09:49:21 espie Exp $
|
|
--- lib/mrt/buffer.c.orig Mon Dec 20 18:26:10 1999
|
|
+++ lib/mrt/buffer.c Fri May 28 04:15:22 2010
|
|
@@ -375,9 +375,7 @@ buffer_vprintf (buffer_t *buffer, char *fmt, va_list a
|
|
case 'X':
|
|
case 'x':
|
|
case 'b':
|
|
- if (argtype == 'h')
|
|
- ulongarg = va_arg (ap, short);
|
|
- else if (argtype == 'l')
|
|
+ if (argtype == 'l')
|
|
ulongarg = va_arg (ap, long);
|
|
else
|
|
ulongarg = va_arg (ap, int);
|