summaryrefslogtreecommitdiff
path: root/coreutils/nice.c
diff options
context:
space:
mode:
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 ad0178b7f..4c54dddbb 100644
--- a/coreutils/nice.c
+++ b/coreutils/nice.c
@@ -67,6 +67,6 @@ int nice_main(int argc, char **argv)
execvp(*argv, argv); /* Now exec the desired program. */
/* The exec failed... */
- bb_default_error_retval = (errno == ENOENT) ? 127 : 126; /* SUSv3 */
+ xfunc_error_retval = (errno == ENOENT) ? 127 : 126; /* SUSv3 */
bb_perror_msg_and_die("%s", *argv);
}