chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
cc13b32
)
core: correct spacing near eol in code comments
author
Torstein Husebø
<torstein@huseboe.net>
Wed, 10 Dec 2014 19:00:08 +0000
(20:00 +0100)
committer
David Herrmann
<dh.herrmann@gmail.com>
Thu, 11 Dec 2014 14:09:51 +0000
(15:09 +0100)
src/core/device.c
patch
|
blob
|
history
src/core/execute.c
patch
|
blob
|
history
src/core/main.c
patch
|
blob
|
history
src/core/manager.c
patch
|
blob
|
history
src/core/unit.h
patch
|
blob
|
history
diff --git
a/src/core/device.c
b/src/core/device.c
index b254e45b33d17a8706f44d48a9f3fa4838a0cfda..c298cd95f69c613bdd17efa02a011a91cb92a705 100644
(file)
--- 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
* 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))
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 5e4135e03086b1732cc5d806800291cea2abd27e..ae2a52d44a05cc7fc0cb98a8630bcfef61e157e3 100644
(file)
--- 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
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;
}
if (nfd != i+3 && restart_from < 0)
restart_from = i;
}
diff --git
a/src/core/main.c
b/src/core/main.c
index 140f2195acae4960343714cec053bdfed0f85096..77980e392955c8629999ad1137f081147939acea 100644
(file)
--- 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
* 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)
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 6382400af492aa106d6c41b94b2df415683c4eb5..7653850cd4273296470398cea5775c8490b5c096 100644
(file)
--- 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+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
/* ... one free signal here SIGRTMIN+30 ... */
#endif
diff --git
a/src/core/unit.h
b/src/core/unit.h
index 0e45229d7b59f2cb741300a7fa75f5bb408b0c22..f6587ba5f0a80d89a702512e8fbebc1ba518afbd 100644
(file)
--- a/
src/core/unit.h
+++ b/
src/core/unit.h
@@
-284,7
+284,7
@@
struct UnitVTable {
* that */
size_t exec_runtime_offset;
* 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
const char *private_section;
/* Config file sections this unit type understands, separated