about summary refs log tree commit diff
path: root/time/tst-getdate.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-08-20 17:08:29 +0000
committerUlrich Drepper <drepper@redhat.com>2000-08-20 17:08:29 +0000
commita785f6c56e7be1b07ee099ee3982e84d8b538ef4 (patch)
tree878b444d83aaf18dd53894cc0ca12efdab86d796 /time/tst-getdate.c
parent479a9deb9a5130c4e718e807b954587b792582cb (diff)
downloadglibc-a785f6c56e7be1b07ee099ee3982e84d8b538ef4.tar.gz
glibc-a785f6c56e7be1b07ee099ee3982e84d8b538ef4.tar.xz
glibc-a785f6c56e7be1b07ee099ee3982e84d8b538ef4.zip
Update.
2000-08-20  Ulrich Drepper  <drepper@redhat.com>

	* time/tst-getdate.c (main): Make error messages more human readable.

	* sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Allow gcc to generic
	postinc/postdec instruction.
	(_FPU_SETCW): Likewise.
	Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
Diffstat (limited to 'time/tst-getdate.c')
-rw-r--r--time/tst-getdate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/time/tst-getdate.c b/time/tst-getdate.c
index d07fb3d06d..d5824f6766 100644
--- a/time/tst-getdate.c
+++ b/time/tst-getdate.c
@@ -101,10 +101,10 @@ main (void)
 	{
 	  printf ("Failure for getdate (\"%s\"):\n", tests[i].str);
 	  printf ("struct tm is:  %d-%d-%d %d:%d:%d\n",
-		  tm->tm_year+1900, tm->tm_mon, tm->tm_mday,
+		  tm->tm_year + 1900, tm->tm_mon + 1, tm->tm_mday,
 		  tm->tm_hour, tm->tm_min, tm->tm_sec);
 	  printf ("but should be: %d-%d-%d %d:%d:%d\n",
-		  tests[i].tm.tm_year+1900, tests[i].tm.tm_mon,
+		  tests[i].tm.tm_year + 1900, tests[i].tm.tm_mon + 1,
 		  tests[i].tm.tm_mday,
 		  tests[i].tm.tm_hour, tests[i].tm.tm_min, tests[i].tm.tm_sec);
 	  ++errors;