fix a perror() message in mosh-server

A perror() message flanking an open() call was reading "dup2" where it
should read "open".

[closes #377]
This commit is contained in:
Alexander von Gernler
2013-01-17 21:07:15 +01:00
committed by Keith Winstein
parent 8290e387af
commit ebe7ae96f6
+1 -1
View File
@@ -403,7 +403,7 @@ int run_server( const char *desired_ip, const char *desired_port,
nullfd = open( "/dev/null", O_RDWR );
if ( nullfd == -1 ) {
perror( "dup2" );
perror( "open" );
exit( 1 );
}