From 3e2ee7271dff697194c7761ca0c5836de486b36f Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Mon, 30 Oct 1995 16:40:52 +0000 Subject: Thu Oct 26 23:11:11 1995 Ulrich Drepper * sysdeps/unix/sysv/linux/poll.c: Don't define as stub. Use simulation of system call using select. * sysdeps/unix/sysv/linux/signal.c: Use POSIX implementation. * sysdeps/unix/sysv/linux/statbuf.h: Define _STAT_VER. * sysdeps/unix/sysv/linux/i386/sigaction.c: Correct parameter name usage (new->act, old->oact). Correct asm statement because of gcc strangeness. * sysdeps/i386/i586/strchr.S: Correct typos: cmp -> cmpb. * sunrpc/clnt_perr.c: Remove declaration of sys_errlist. They conflict with the ones in stdio.h. * string/tester.c: %Z is no complete format. Change to %Zd. * sysdeps/mach/hurd/symlink.c (__symlink): Ditto. --- string/tester.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'string/tester.c') diff --git a/string/tester.c b/string/tester.c index 74ac34541e..34d4e1c8e0 100644 --- a/string/tester.c +++ b/string/tester.c @@ -177,11 +177,11 @@ DEFUN(main, (argc, argv), int argc AND char **argv) (void) strcpy(one, "abc"); (void) strncpy(one, "xyz", 0); /* Zero-length copy. */ - equal(one, "abc", 10); + equal(one, "abc", 10); (void) strncpy(one, "", 2); /* Zero-length source. */ equal(one, "", 11); - equal(one+1, "", 12); + equal(one+1, "", 12); equal(one+2, "c", 13); (void) strcpy(one, "hi there"); @@ -563,7 +563,7 @@ DEFUN(main, (argc, argv), int argc AND char **argv) else { status = EXIT_FAILURE; - printf("%Z errors.\n", errors); + printf("%Zd errors.\n", errors); } exit(status); } -- cgit v1.2.3