aboutsummaryrefslogtreecommitdiff
path: root/archival
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-07-01 16:09:07 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-07-01 16:09:07 +0000
commitfa0b56db76e5c4c5a375930fad358ea5a364d328 (patch)
tree58860badefa488707ba635ef4a3f7c682ddb8163 /archival
parent82604e973085f91f1b99cacea08963d0d1468084 (diff)
downloadbusybox-w32-fa0b56db76e5c4c5a375930fad358ea5a364d328.tar.gz
busybox-w32-fa0b56db76e5c4c5a375930fad358ea5a364d328.tar.bz2
busybox-w32-fa0b56db76e5c4c5a375930fad358ea5a364d328.zip
sendmail: fix wrong vfork usage here too
*: shorten error texts function old new delta launch_helper - 151 +151 vfork_or_die 20 - -20 sendgetmail_main 1946 1848 -98 ------------------------------------------------------------------------------ (add/remove: 1/1 grow/shrink: 0/1 up/down: 151/-118) Total: 33 bytes
Diffstat (limited to 'archival')
-rw-r--r--archival/libunarchive/open_transformer.c4
-rw-r--r--archival/tar.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/archival/libunarchive/open_transformer.c b/archival/libunarchive/open_transformer.c
index a6bc62321..a5ee97167 100644
--- a/archival/libunarchive/open_transformer.c
+++ b/archival/libunarchive/open_transformer.c
@@ -23,11 +23,11 @@ int FAST_FUNC open_transformer(int src_fd,
23#if BB_MMU 23#if BB_MMU
24 pid = fork(); 24 pid = fork();
25 if (pid == -1) 25 if (pid == -1)
26 bb_perror_msg_and_die("can't fork"); 26 bb_perror_msg_and_die("vfork" + 1);
27#else 27#else
28 pid = vfork(); 28 pid = vfork();
29 if (pid == -1) 29 if (pid == -1)
30 bb_perror_msg_and_die("can't vfork"); 30 bb_perror_msg_and_die("vfork");
31#endif 31#endif
32 32
33 if (pid == 0) { 33 if (pid == 0) {
diff --git a/archival/tar.c b/archival/tar.c
index 526edb69d..bb8920ab2 100644
--- a/archival/tar.c
+++ b/archival/tar.c
@@ -538,7 +538,7 @@ static void NOINLINE vfork_compressor(int tar_fd, int gzip)
538 538
539 gzipPid = vfork(); 539 gzipPid = vfork();
540 if (gzipPid < 0) 540 if (gzipPid < 0)
541 bb_perror_msg_and_die("can't vfork"); 541 bb_perror_msg_and_die("vfork");
542 542
543 if (gzipPid == 0) { 543 if (gzipPid == 0) {
544 /* child */ 544 /* child */