mirror of
https://repo.or.cz/socat.git
synced 2025-07-29 13:42:58 +00:00
corrected some print statements and variable names
This commit is contained in:
parent
15e4073572
commit
79b6e800c6
5 changed files with 13 additions and 9 deletions
|
@ -1,5 +1,5 @@
|
|||
/* source: xio-system.c */
|
||||
/* Copyright Gerhard Rieger 2001-2006 */
|
||||
/* Copyright Gerhard Rieger 2001-2008 */
|
||||
/* Published under the GNU General Public License V.2, see file COPYING */
|
||||
|
||||
/* this file contains the source for opening addresses of system type */
|
||||
|
@ -54,6 +54,7 @@ static int xioopen_system(int argc, const char *argv[], struct opt *opts,
|
|||
result = System(string);
|
||||
if (result != 0) {
|
||||
Warn2("system(\"%s\") returned with status %d", string, result);
|
||||
Warn1("system(): %s", strerror(errno));
|
||||
}
|
||||
Exit(0); /* this child process */
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue