diff options
Diffstat (limited to 'libbb/copy_file.c')
-rw-r--r-- | libbb/copy_file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/copy_file.c b/libbb/copy_file.c index be9006631..1b8befd65 100644 --- a/libbb/copy_file.c +++ b/libbb/copy_file.c | |||
@@ -48,7 +48,7 @@ static int ask_and_unlink(const char *dest, int flags) | |||
48 | // (No "opening without O_EXCL", no "unlink only if -f") | 48 | // (No "opening without O_EXCL", no "unlink only if -f") |
49 | // Or else we will end up having 3 open()s! | 49 | // Or else we will end up having 3 open()s! |
50 | fprintf(stderr, "%s: overwrite '%s'? ", applet_name, dest); | 50 | fprintf(stderr, "%s: overwrite '%s'? ", applet_name, dest); |
51 | if (!bb_ask_confirmation()) | 51 | if (!bb_ask_y_confirmation()) |
52 | return 0; /* not allowed to overwrite */ | 52 | return 0; /* not allowed to overwrite */ |
53 | } | 53 | } |
54 | if (unlink(dest) < 0) { | 54 | if (unlink(dest) < 0) { |