summaryrefslogtreecommitdiff
path: root/cp_mv.c
diff options
context:
space:
mode:
authorEric Andersen2000-06-19 17:25:40 +0000
committerEric Andersen2000-06-19 17:25:40 +0000
commitb610615be9aedfac07d1e01f12575707fa3a227c (patch)
treeb94c0d6a506d1ef77f79df246a26d504c84b7110 /cp_mv.c
parentdbb3019d0de410960feac649a0b9320ae245cca1 (diff)
downloadbusybox-b610615be9aedfac07d1e01f12575707fa3a227c.zip
busybox-b610615be9aedfac07d1e01f12575707fa3a227c.tar.gz
Updates to a number of apps to remove warnings/compile errors under libc5.
Tested under both libc5 and libc6 and all seems well with these fixes. -Erik
Diffstat (limited to 'cp_mv.c')
-rw-r--r--cp_mv.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/cp_mv.c b/cp_mv.c
index c8d6562..b15235a 100644
--- a/cp_mv.c
+++ b/cp_mv.c
@@ -90,7 +90,7 @@ static
void name_too_long__exit (void)
{
fprintf(stderr, name_too_long, dz);
- exit FALSE;
+ exit(FALSE);
}
static void
@@ -333,10 +333,9 @@ extern int cp_mv_main(int argc, char **argv)
if (flags_memo)
*(baseDestName + baseDestLen) = '\0';
}
-// exit_true:
- exit TRUE;
+ return( TRUE);
exit_false:
- exit FALSE;
+ return( FALSE);
}
/*