%z is now recognized by printf.

This commit is contained in:
Ulrich Drepper 1998-07-29 09:04:25 +00:00
parent f50e9c9df0
commit ceeeaa3dcf

View File

@ -1,4 +1,4 @@
/* Copyright (C) 1991, 92, 93, 95, 96, 97 Free Software Foundation, Inc. /* Copyright (C) 1991, 92, 93, 95, 96, 97, 98 Free Software Foundation, Inc.
This file is part of the GNU C Library. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or The GNU C Library is free software; you can redistribute it and/or
@ -146,7 +146,7 @@ I am ready for my first lesson today.";
fmtst2chk("%0*.*x"); fmtst2chk("%0*.*x");
#ifndef BSD #ifndef BSD
printf("bad format:\t\"%z\"\n"); printf("bad format:\t\"%b\"\n");
printf("nil pointer (padded):\t\"%10p\"\n", (void *) NULL); printf("nil pointer (padded):\t\"%10p\"\n", (void *) NULL);
#endif #endif