diff options
Diffstat (limited to 'editors/diff.c')
-rw-r--r-- | editors/diff.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editors/diff.c b/editors/diff.c index 1462a9b..dc40ab4 100644 --- a/editors/diff.c +++ b/editors/diff.c @@ -1006,7 +1006,7 @@ int diff_main(int argc UNUSED_PARAM, char **argv) xfunc_error_retval = 1; if (gotstdin && (S_ISDIR(stb[0].st_mode) || S_ISDIR(stb[1].st_mode))) - bb_error_msg_and_die("can't compare stdin to a directory"); + bb_simple_error_msg_and_die("can't compare stdin to a directory"); /* Compare metadata to check if the files are the same physical file. * @@ -1037,7 +1037,7 @@ int diff_main(int argc UNUSED_PARAM, char **argv) #if ENABLE_FEATURE_DIFF_DIR diffdir(file, s_start); #else - bb_error_msg_and_die("no support for directory comparison"); + bb_simple_error_msg_and_die("no support for directory comparison"); #endif } else { bool dirfile = S_ISDIR(stb[0].st_mode) || S_ISDIR(stb[1].st_mode); |