aboutsummaryrefslogtreecommitdiffstats
path: root/src/mount/mount-tool.c
diff options
context:
space:
mode:
authorLuca Boccassi <luca.boccassi@microsoft.com>2021-08-03 21:15:25 +0100
committerGitHub <noreply@github.com>2021-08-03 21:15:25 +0100
commit788733428d019791ab9d780b4778a472794b3748 (patch)
treea4a264899a594fa62810eeebe799e6749c142668 /src/mount/mount-tool.c
parentMerge pull request #20371 from bluca/coverity (diff)
parentbasic/log: use appropriate glyph in log_assert_failed_unreachable() (diff)
downloadsystemd-788733428d019791ab9d780b4778a472794b3748.tar.xz
systemd-788733428d019791ab9d780b4778a472794b3748.zip
Merge pull request #20368 from keszybz/drop-assert-not-reached-text
Drop the text argument from assert_not_reached()
Diffstat (limited to 'src/mount/mount-tool.c')
-rw-r--r--src/mount/mount-tool.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mount/mount-tool.c b/src/mount/mount-tool.c
index c213c905a1a..b0de83b8d03 100644
--- a/src/mount/mount-tool.c
+++ b/src/mount/mount-tool.c
@@ -329,7 +329,7 @@ static int parse_argv(int argc, char *argv[]) {
return -EINVAL;
default:
- assert_not_reached("Unhandled option");
+ assert_not_reached();
}
if (arg_user && arg_transport != BUS_TRANSPORT_LOCAL)
@@ -1530,7 +1530,7 @@ static int run(int argc, char* argv[]) {
break;
default:
- assert_not_reached("Unexpected action.");
+ assert_not_reached();
}
return r;