Permalink
Browse files

Fix the text of an error message.

  • Loading branch information...
1 parent 919fff7 commit 0274231d59b2bed05ce58b3e8aa06fcffb6eec75 @nelhage committed Apr 11, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 reptyr.c
View
@@ -210,7 +210,7 @@ int main(int argc, char **argv) {
if (unlockpt(pty) < 0)
die("Unable to unlockpt: %m");
if (grantpt(pty) < 0)
- die("Unable to unlockpt: %m");
+ die("Unable to grantpt: %m");
if (do_attach) {
pid_t child = atoi(argv[arg]);

0 comments on commit 0274231

Please sign in to comment.