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:
committed by
Keith Winstein
parent
8290e387af
commit
ebe7ae96f6
@@ -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 );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user