aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-07-29 09:04:25 +0000
committerUlrich Drepper <drepper@redhat.com>1998-07-29 09:04:25 +0000
commitceeeaa3dcf76e7bc68ad276a1a54d988bef58934 (patch)
tree8d7ac67e9d28d6b093a428745ddd029bae555bf3
parentf50e9c9df0b675e55de7c994af9598476d29d03f (diff)
downloadglibc-ceeeaa3dcf76e7bc68ad276a1a54d988bef58934.zip
glibc-ceeeaa3dcf76e7bc68ad276a1a54d988bef58934.tar.gz
glibc-ceeeaa3dcf76e7bc68ad276a1a54d988bef58934.tar.bz2
%z is now recognized by printf.
-rw-r--r--stdio-common/tst-printf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/stdio-common/tst-printf.c b/stdio-common/tst-printf.c
index 99eb3ef..884e19f 100644
--- a/stdio-common/tst-printf.c
+++ b/stdio-common/tst-printf.c
@@ -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.
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");
#ifndef BSD
- printf("bad format:\t\"%z\"\n");
+ printf("bad format:\t\"%b\"\n");
printf("nil pointer (padded):\t\"%10p\"\n", (void *) NULL);
#endif