diff options
| -rw-r--r-- | rpt.c | 14 | 
1 files changed, 7 insertions, 7 deletions
| @@ -52,7 +52,7 @@ exit_on_error(int status)  	if (!status)  		return; -	fprintf(stderr, "Child process exited with status %d, aborting.\n", +	fprintf(stderr, "rpt: child process exited with status %d, aborting\n",  		status);  	exit(status);  } @@ -75,7 +75,7 @@ exec_child(char **argv)  		if (status < 0)  		{ -			perror("rpt[child process]"); +			perror("lseek");  			exit(4);  		}  	} @@ -84,7 +84,7 @@ exec_child(char **argv)  	if (status < 0)  	{ -		perror("rpt[child process]"); +		perror("dup2");  		exit(4);  	} @@ -92,7 +92,7 @@ exec_child(char **argv)  	if (status < 0)  	{ -		perror("rpt[child process]"); +		perror("execvp");  		exit(4);  	} @@ -116,7 +116,7 @@ invoke_cmd(char **argv, void (*handle_error_f)(int status))  	if (pid < 0)  	{ -		perror("rpt"); +		perror("fork");  		exit(4);  	} @@ -145,7 +145,7 @@ copy_stdin()  	if (!stdin_clone)  	{ -		perror("rpt"); +		perror("tmpfile");  		exit(1);  	} @@ -160,7 +160,7 @@ copy_stdin()  	if (errno)  	{  		fclose(stdin_clone); -		perror("rpt"); +		perror("read/write");  		exit(1);  	}  } | 
