aboutsummaryrefslogtreecommitdiffstats
path: root/src/machine/machinectl.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/machine/machinectl.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/machine/machinectl.c')
-rw-r--r--src/machine/machinectl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/machine/machinectl.c b/src/machine/machinectl.c
index 299e6d8207e..b4c251078ba 100644
--- a/src/machine/machinectl.c
+++ b/src/machine/machinectl.c
@@ -2789,7 +2789,7 @@ static int parse_argv(int argc, char *argv[]) {
return -EINVAL;
default:
- assert_not_reached("Unhandled option");
+ assert_not_reached();
}
}