assume l for x only if sizeof(void *)==sizeof(u_long), else it's u_int (;
-/* $OpenBSD: printf.c,v 1.7 1997/02/06 14:22:33 mickey Exp $ */
+/* $OpenBSD: printf.c,v 1.8 1997/02/06 14:26:08 mickey Exp $ */
/* $NetBSD: printf.c,v 1.10 1996/11/30 04:19:21 gwr Exp $ */
/*-
kprintn(put, ul, 10);
break;
case 'p':
- lflag++;
+ lflag += sizeof(void *)==sizeof(u_long)? 1 : 0;
case 'x':
ul = lflag ?
va_arg(ap, u_long) : va_arg(ap, u_int);