diff options
Diffstat (limited to 'src/journal-remote')
-rw-r--r-- | src/journal-remote/journal-gatewayd.c | 2 | ||||
-rw-r--r-- | src/journal-remote/journal-remote-main.c | 2 | ||||
-rw-r--r-- | src/journal-remote/journal-remote.c | 6 | ||||
-rw-r--r-- | src/journal-remote/journal-upload-journal.c | 4 | ||||
-rw-r--r-- | src/journal-remote/journal-upload.c | 2 |
5 files changed, 8 insertions, 8 deletions
diff --git a/src/journal-remote/journal-gatewayd.c b/src/journal-remote/journal-gatewayd.c index ab1cf7b109..38972fe1a9 100644 --- a/src/journal-remote/journal-gatewayd.c +++ b/src/journal-remote/journal-gatewayd.c @@ -992,7 +992,7 @@ static int parse_argv(int argc, char *argv[]) { return -EINVAL; default: - assert_not_reached("Unhandled option"); + assert_not_reached(); } if (optind < argc) diff --git a/src/journal-remote/journal-remote-main.c b/src/journal-remote/journal-remote-main.c index ae1d43756a..140ecac207 100644 --- a/src/journal-remote/journal-remote-main.c +++ b/src/journal-remote/journal-remote-main.c @@ -1003,7 +1003,7 @@ static int parse_argv(int argc, char *argv[]) { return -EINVAL; default: - assert_not_reached("Unknown option code."); + assert_not_reached(); } if (optind < argc) diff --git a/src/journal-remote/journal-remote.c b/src/journal-remote/journal-remote.c index 6e5aebdc48..9c1ee0188d 100644 --- a/src/journal-remote/journal-remote.c +++ b/src/journal-remote/journal-remote.c @@ -58,7 +58,7 @@ static int open_output(RemoteServer *s, Writer *w, const char* host) { } default: - assert_not_reached("what?"); + assert_not_reached(); } r = journal_file_open_reliably(filename, @@ -110,7 +110,7 @@ int journal_remote_get_writer(RemoteServer *s, const char *host, Writer **writer break; default: - assert_not_reached("what split mode?"); + assert_not_reached(); } w = hashmap_get(s->writers, key); @@ -323,7 +323,7 @@ int journal_remote_server_init( else if (split_mode == JOURNAL_WRITE_SPLIT_HOST) s->output = REMOTE_JOURNAL_PATH; else - assert_not_reached("bad split mode"); + assert_not_reached(); r = sd_event_default(&s->events); if (r < 0) diff --git a/src/journal-remote/journal-upload-journal.c b/src/journal-remote/journal-upload-journal.c index f23d5cf8b9..899f47eea4 100644 --- a/src/journal-remote/journal-upload-journal.c +++ b/src/journal-remote/journal-upload-journal.c @@ -229,10 +229,10 @@ static ssize_t write_entry(char *buf, size_t size, Uploader *u) { return pos; default: - assert_not_reached("WTF?"); + assert_not_reached(); } } - assert_not_reached("WTF?"); + assert_not_reached(); } static void check_update_watchdog(Uploader *u) { diff --git a/src/journal-remote/journal-upload.c b/src/journal-remote/journal-upload.c index 2a38d206ea..3c28bbab7a 100644 --- a/src/journal-remote/journal-upload.c +++ b/src/journal-remote/journal-upload.c @@ -779,7 +779,7 @@ static int parse_argv(int argc, char *argv[]) { argv[optind - 1]); default: - assert_not_reached("Unhandled option code."); + assert_not_reached(); } if (!arg_url) |