From 9568924023a1e322c446870c4a4dd514800517c3 Mon Sep 17 00:00:00 2001 From: imp Date: Fri, 5 Jul 2002 18:36:49 +0000 Subject: [PATCH] dd %i as an alias for %d for greater compatibility with our *BSD bretheren Obtained from: NetBSD Reviewed by: jake, rwatson, bosko --- sys/kern/subr_prf.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/kern/subr_prf.c b/sys/kern/subr_prf.c index 7f9b7906bc84..c6b5beeea21c 100644 --- a/sys/kern/subr_prf.c +++ b/sys/kern/subr_prf.c @@ -592,6 +592,7 @@ reswitch: switch (ch = (u_char)*fmt++) { } break; case 'd': + case 'i': base = 10; sign = 1; goto handle_sign;