Fix typo in assertion
authorAndreas Schwab <schwab@suse.de>
Tue, 13 May 2014 15:06:58 +0000 (17:06 +0200)
committerAndreas Schwab <schwab@suse.de>
Tue, 13 May 2014 15:16:02 +0000 (17:16 +0200)
ChangeLog
sysdeps/unix/grantpt.c

index e9df943..ddba88a 100644 (file)
--- 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__]
index c4f067f..410dc50 100644 (file)
@@ -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