summaryrefslogtreecommitdiffstats
path: root/libbb
diff options
context:
space:
mode:
authorgraham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2009-11-15 04:03:32 (EST)
committer graham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2009-11-15 04:03:32 (EST)
commitfc6cb6c7eef935d3dc2d19e795ca80d673974619 (patch)
tree448ae98796f616321b0a2a1f5226c5d051265b89 /libbb
parent19cda406126b0012a5cd9509ada41795846732ef (diff)
The ": " is already added by vperror_msg... oops.
git-svn-id: http://opkg.googlecode.com/svn/trunk@306 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
Diffstat (limited to 'libbb')
-rw-r--r--libbb/gz_open.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libbb/gz_open.c b/libbb/gz_open.c
index 0ed1417..3107af9 100644
--- a/libbb/gz_open.c
+++ b/libbb/gz_open.c
@@ -34,11 +34,11 @@ extern FILE *gz_open(FILE *compressed_file, int *pid)
int unzip_pipe[2];
if (pipe(unzip_pipe)!=0) {
- perror_msg("%s: pipe: ", __FUNCTION__);
+ perror_msg("%s: pipe", __FUNCTION__);
return(NULL);
}
if ((*pid = fork()) == -1) {
- perror_msg("%s: fork: ", __FUNCTION__);
+ perror_msg("%s: fork", __FUNCTION__);
return(NULL);
}
if (*pid==0) {
@@ -57,10 +57,10 @@ extern FILE *gz_open(FILE *compressed_file, int *pid)
extern void gz_close(int gunzip_pid)
{
if (kill(gunzip_pid, SIGTERM) == -1) {
- perror_msg_and_die("%s: kill(gunzip_pid): ", __FUNCTION__);
+ perror_msg_and_die("%s: kill(gunzip_pid)", __FUNCTION__);
}
if (waitpid(gunzip_pid, NULL, 0) == -1) {
- perror_msg("%s wait: ", __FUNCTION__);
+ perror_msg("%s wait", __FUNCTION__);
}
}