aboutsummaryrefslogtreecommitdiff
path: root/coreutils/nice.c
diff options
context:
space:
mode:
authorvda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2007-02-06 01:20:12 +0000
committervda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2007-02-06 01:20:12 +0000
commite84333341b74188d901c2784f00b4c970b419be0 (patch)
treef3e2e2185d092f87843fe4bbc9d1098185a5bdbd /coreutils/nice.c
parent25a67790a738b7155dc868979c211001148f616f (diff)
downloadbusybox-w32-e84333341b74188d901c2784f00b4c970b419be0.tar.gz
busybox-w32-e84333341b74188d901c2784f00b4c970b419be0.tar.bz2
busybox-w32-e84333341b74188d901c2784f00b4c970b419be0.zip
EXEC_PREFER_APPLETS support by Gabriel L. Somlo <somlo@cmu.edu>
git-svn-id: svn://busybox.net/trunk/busybox@17785 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'coreutils/nice.c')
-rw-r--r--coreutils/nice.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/nice.c b/coreutils/nice.c
index b7bff6a52..328531528 100644
--- a/coreutils/nice.c
+++ b/coreutils/nice.c
@@ -47,7 +47,7 @@ int nice_main(int argc, char **argv)
47 } 47 }
48 } 48 }
49 49
50 execvp(*argv, argv); /* Now exec the desired program. */ 50 BB_EXECVP(*argv, argv); /* Now exec the desired program. */
51 51
52 /* The exec failed... */ 52 /* The exec failed... */
53 xfunc_error_retval = (errno == ENOENT) ? 127 : 126; /* SUSv3 */ 53 xfunc_error_retval = (errno == ENOENT) ? 127 : 126; /* SUSv3 */