summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorstein Husebø <torstein@huseboe.net>2014-12-10 20:00:08 +0100
committerDavid Herrmann <dh.herrmann@gmail.com>2014-12-11 15:09:51 +0100
commitee33e53a70c0d3f9d8aeafe4b8fd84a0d5e1d8d9 (patch)
tree3a0cb1184b72f6a4343f3876cbcc6b0251d1abe3
parentcc13b327297bb616f8adca10c7503581c8bc5b93 (diff)
core: correct spacing near eol in code comments
-rw-r--r--src/core/device.c2
-rw-r--r--src/core/execute.c2
-rw-r--r--src/core/main.c2
-rw-r--r--src/core/manager.c2
-rw-r--r--src/core/unit.h2
5 files changed, 5 insertions, 5 deletions
diff --git a/src/core/device.c b/src/core/device.c
index b254e45b33..c298cd95f6 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 5e4135e030..ae2a52d44a 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 140f2195ac..77980e3929 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 6382400af4..7653850cd4 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 0e45229d7b..f6587ba5f0 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