about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2014-05-13 17:06:58 +0200
committerAndreas Schwab <schwab@suse.de>2014-05-13 17:16:02 +0200
commit01eb16fdb6c143884dcaeadf45ffdd725207eed5 (patch)
tree36a48484b205782cb45632c18186b551af7fd6d1
parent637461d96563f3b7405df5b124ccfe843e537374 (diff)
downloadglibc-01eb16fdb6c143884dcaeadf45ffdd725207eed5.tar.gz
glibc-01eb16fdb6c143884dcaeadf45ffdd725207eed5.tar.xz
glibc-01eb16fdb6c143884dcaeadf45ffdd725207eed5.zip
Fix typo in assertion
-rw-r--r--ChangeLog4
-rw-r--r--sysdeps/unix/grantpt.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index e9df9433af..ddba88abc6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2014-05-13  Andreas Schwab  <schwab@suse.de>
+
+	* sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
+
 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
 
 	* sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
diff --git a/sysdeps/unix/grantpt.c b/sysdeps/unix/grantpt.c
index c4f067f036..410dc50cf9 100644
--- a/sysdeps/unix/grantpt.c
+++ b/sysdeps/unix/grantpt.c
@@ -229,7 +229,7 @@ grantpt (int fd)
 	    break;
 
 	  default:
-	    assert(! "getpt: internal error: invalid exit code from pt_chown");
+	    assert(! "grantpt: internal error: invalid exit code from pt_chown");
 	  }
     }
 #endif