From owner-freebsd-commit Wed Jun 14 00:56:35 1995 Return-Path: commit-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id AAA19333 for commit-outgoing; Wed, 14 Jun 1995 00:56:35 -0700 Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id AAA19240 for cvs-sys-outgoing; Wed, 14 Jun 1995 00:55:12 -0700 Received: (from bde@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id AAA19223 ; Wed, 14 Jun 1995 00:55:08 -0700 Date: Wed, 14 Jun 1995 00:55:08 -0700 From: Bruce Evans Message-Id: <199506140755.AAA19223@freefall.cdrom.com> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/kern subr_prf.c Sender: commit-owner@FreeBSD.org Precedence: bulk bde 95/06/14 00:55:08 Modified: sys/kern subr_prf.c Log: Convert %p to 0x%x instead of to 0x%8x. The latter gives blank padding in the wrong place. Blank padding in the right place or zero padding would be inconsistent with user mode. Put case 'p' in alphabetical order. Implement %p in sprintf() too. I'd like only a single, more complete printf() core, perhaps one based on vsnprintf().