From ee33e53a70c0d3f9d8aeafe4b8fd84a0d5e1d8d9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Torstein=20Huseb=C3=B8?= Date: Wed, 10 Dec 2014 20:00:08 +0100 Subject: [PATCH 1/1] core: correct spacing near eol in code comments --- src/core/device.c | 2 +- src/core/execute.c | 2 +- src/core/main.c | 2 +- src/core/manager.c | 2 +- src/core/unit.h | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/core/device.c b/src/core/device.c index b254e45b3..c298cd95f 100644 --- a/src/core/device.c +++ b/src/core/device.c @@ -382,7 +382,7 @@ static int device_process_new_device(Manager *m, struct udev_device *dev) { * same /dev/disk/by-label/xxx link because they have * the same label. We want to make sure that the same * device that won the symlink wins in systemd, so we - * check the device node major/minor*/ + * check the device node major/minor */ if (stat(p, &st) >= 0) if ((!S_ISBLK(st.st_mode) && !S_ISCHR(st.st_mode)) || st.st_rdev != udev_device_get_devnum(dev)) diff --git a/src/core/execute.c b/src/core/execute.c index 5e4135e03..ae2a52d44 100644 --- a/src/core/execute.c +++ b/src/core/execute.c @@ -130,7 +130,7 @@ static int shift_fds(int fds[], unsigned n_fds) { fds[i] = nfd; /* Hmm, the fd we wanted isn't free? Then - * let's remember that and try again from here*/ + * let's remember that and try again from here */ if (nfd != i+3 && restart_from < 0) restart_from = i; } diff --git a/src/core/main.c b/src/core/main.c index 140f2195a..77980e392 100644 --- a/src/core/main.c +++ b/src/core/main.c @@ -1543,7 +1543,7 @@ int main(int argc, char *argv[]) { * managers and installers to provision a couple of * files already. If the container manager wants to * provision the machine ID itself it should pass - * $container_uuid to PID 1.*/ + * $container_uuid to PID 1. */ empty_etc = access("/etc/machine-id", F_OK) < 0; if (empty_etc) diff --git a/src/core/manager.c b/src/core/manager.c index 6382400af..7653850cd 100644 --- a/src/core/manager.c +++ b/src/core/manager.c @@ -440,7 +440,7 @@ static int manager_setup_signals(Manager *m) { SIGRTMIN+26, /* systemd: set log target to journal-or-kmsg */ SIGRTMIN+27, /* systemd: set log target to console */ SIGRTMIN+28, /* systemd: set log target to kmsg */ - SIGRTMIN+29, /* systemd: set log target to syslog-or-kmsg (obsolete)*/ + SIGRTMIN+29, /* systemd: set log target to syslog-or-kmsg (obsolete) */ /* ... one free signal here SIGRTMIN+30 ... */ #endif diff --git a/src/core/unit.h b/src/core/unit.h index 0e45229d7..f6587ba5f 100644 --- a/src/core/unit.h +++ b/src/core/unit.h @@ -284,7 +284,7 @@ struct UnitVTable { * that */ size_t exec_runtime_offset; - /* The name of the configuration file section with the private settings of this unit*/ + /* The name of the configuration file section with the private settings of this unit */ const char *private_section; /* Config file sections this unit type understands, separated -- 2.30.2