core: correct spacing near eol in code comments

This commit is contained in:
Torstein Husebø 2014-12-10 20:00:08 +01:00 committed by David Herrmann
parent cc13b32729
commit ee33e53a70
5 changed files with 5 additions and 5 deletions

View File

@ -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))

View File

@ -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;
}

View File

@ -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)

View File

@ -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

View File

@ -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