aboutsummaryrefslogtreecommitdiffstats
path: root/src/rm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rm.c')
-rw-r--r--src/rm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rm.c b/src/rm.c
index 46a3d4d13..2d08e71d9 100644
--- a/src/rm.c
+++ b/src/rm.c
@@ -295,7 +295,7 @@ main (int argc, char **argv)
break;
case NO_PRESERVE_ROOT:
- if (! STREQ (argv[optind - 1], "--no-preserve-root"))
+ if (! streq (argv[optind - 1], "--no-preserve-root"))
error (EXIT_FAILURE, 0,
_("you may not abbreviate the --no-preserve-root option"));
preserve_root = false;
@@ -304,7 +304,7 @@ main (int argc, char **argv)
case PRESERVE_ROOT:
if (optarg)
{
- if STREQ (optarg, "all")
+ if (streq (optarg, "all"))
x.preserve_all_root = true;
else
error (EXIT_FAILURE, 0,