aboutsummaryrefslogtreecommitdiffstats
path: root/src/chown-core.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/chown-core.c')
-rw-r--r--src/chown-core.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/chown-core.c b/src/chown-core.c
index 48ac4c8eb..3aa0390b7 100644
--- a/src/chown-core.c
+++ b/src/chown-core.c
@@ -23,6 +23,7 @@
#include <grp.h>
#include "system.h"
+#include "assure.h"
#include "chown-core.h"
#include "error.h"
#include "ignore-value.h"
@@ -198,7 +199,7 @@ describe_change (char const *file, enum Change_status changed,
: _("ownership of %s retained\n"));
break;
default:
- abort ();
+ affirm (false);
}
printf (fmt, quoteaf (file), old_spec, spec);
@@ -467,7 +468,7 @@ change_file_owner (FTS *fts, FTSENT *ent,
break;
default:
- abort ();
+ unreachable ();
}
}