From: Zbigniew Jędrzejewski-Szmek Date: Tue, 9 Feb 2021 15:32:55 +0000 (+0100) Subject: Add comma in structured initialization in a few places X-Git-Tag: v248-rc1~166^2~12 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=61b315de9b9a0688d63142947d0e5ce76e6bc7ac;p=thirdparty%2Fsystemd.git Add comma in structured initialization in a few places It just looks nicer… --- diff --git a/src/journal-remote/journal-upload.c b/src/journal-remote/journal-upload.c index 455a6c942ef..4d6041e911a 100644 --- a/src/journal-remote/journal-upload.c +++ b/src/journal-remote/journal-upload.c @@ -413,7 +413,7 @@ static int setup_uploader(Uploader *u, const char *url, const char *state_file) assert(url); *u = (Uploader) { - .input = -1 + .input = -1, }; host = STARTSWITH_SET(url, "http://", "https://"); diff --git a/src/libsystemd/sd-bus/test-bus-error.c b/src/libsystemd/sd-bus/test-bus-error.c index 958884d56ff..84728e4e845 100644 --- a/src/libsystemd/sd-bus/test-bus-error.c +++ b/src/libsystemd/sd-bus/test-bus-error.c @@ -15,7 +15,7 @@ static void test_error(void) { const sd_bus_error temporarily_const_error = { .name = SD_BUS_ERROR_ACCESS_DENIED, .message = "oh! no", - ._need_free = -1 + ._need_free = -1, }; assert_se(!sd_bus_error_is_set(&error)); diff --git a/src/update-utmp/update-utmp.c b/src/update-utmp/update-utmp.c index 1ec9066d345..38df4cddf08 100644 --- a/src/update-utmp/update-utmp.c +++ b/src/update-utmp/update-utmp.c @@ -215,7 +215,7 @@ static int on_runlevel(Context *c) { static int run(int argc, char *argv[]) { _cleanup_(context_clear) Context c = { #if HAVE_AUDIT - .audit_fd = -1 + .audit_fd = -1, #endif }; int r;