about summary refs log tree commit diff
diff options
context:
space:
mode:
-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