diff options
author | Jan Engelhardt <jengelh@inai.de> | 2014-02-17 03:37:13 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2014-02-18 01:03:07 +0100 |
commit | 73e231abde39f22097df50542c745e01de879836 (patch) | |
tree | c5ffe3b64f99ecf8849f2f551494d87a0d8198e3 /src | |
parent | doc: detail what "UID" is (diff) | |
download | systemd-73e231abde39f22097df50542c745e01de879836.tar.xz systemd-73e231abde39f22097df50542c745e01de879836.zip |
doc: update punctuation
Resolve spotted issues related to missing or extraneous commas, dashes.
Diffstat (limited to 'src')
-rw-r--r-- | src/backlight/backlight.c | 2 | ||||
-rw-r--r-- | src/core/cgroup.c | 2 | ||||
-rw-r--r-- | src/journal/journalctl.c | 2 | ||||
-rw-r--r-- | src/journal/sd-journal.c | 4 | ||||
-rw-r--r-- | src/libsystemd/sd-bus/bus-kernel.c | 4 | ||||
-rw-r--r-- | src/shared/cgroup-util.c | 4 | ||||
-rw-r--r-- | src/udev/udev-builtin-usb_id.c | 4 |
7 files changed, 11 insertions, 11 deletions
diff --git a/src/backlight/backlight.c b/src/backlight/backlight.c index bf767038ee..7d7c0845d9 100644 --- a/src/backlight/backlight.c +++ b/src/backlight/backlight.c @@ -285,7 +285,7 @@ int main(int argc, char *argv[]) { * their probing at boot-time might happen in any order. This * means the validity checking of the device then is not * reliable, since it might not see other devices conflicting - * with a specific backlight. To deal with this we will + * with a specific backlight. To deal with this, we will * actively delete backlight state files at shutdown (where * device probing should be complete), so that the validity * check at boot time doesn't have to be reliable. */ diff --git a/src/core/cgroup.c b/src/core/cgroup.c index 24d6ff6482..6c51235e7b 100644 --- a/src/core/cgroup.c +++ b/src/core/cgroup.c @@ -629,7 +629,7 @@ int unit_realize_cgroup(Unit *u) { * unit, we need to first create all parents, but there's more * actually: for the weight-based controllers we also need to * make sure that all our siblings (i.e. units that are in the - * same slice as we are) have cgroups, too. Otherwise things + * same slice as we are) have cgroups, too. Otherwise, things * would become very uneven as each of their processes would * get as much resources as all our group together. This call * will synchronously create the parent cgroups, but will diff --git a/src/journal/journalctl.c b/src/journal/journalctl.c index 482795bd38..d406daeae9 100644 --- a/src/journal/journalctl.c +++ b/src/journal/journalctl.c @@ -727,7 +727,7 @@ static int add_matches(sd_journal *j, char **args) { t = strappend("_COMM=", comm); /* Append _EXE only if the interpreter is not a link. - Otherwise it might be outdated often. */ + Otherwise, it might be outdated often. */ if (lstat(interpreter, &st) == 0 && !S_ISLNK(st.st_mode)) { t2 = strappend("_EXE=", interpreter); diff --git a/src/journal/sd-journal.c b/src/journal/sd-journal.c index 7466006752..6abbacf004 100644 --- a/src/journal/sd-journal.c +++ b/src/journal/sd-journal.c @@ -464,7 +464,7 @@ static int compare_entry_order(JournalFile *af, Object *_ao, if (sd_id128_equal(ao->entry.boot_id, bo->entry.boot_id)) { - /* If the boot id matches compare monotonic time */ + /* If the boot id matches, compare monotonic time */ a = le64toh(ao->entry.monotonic); b = le64toh(bo->entry.monotonic); @@ -474,7 +474,7 @@ static int compare_entry_order(JournalFile *af, Object *_ao, return 1; } - /* Otherwise compare UTC time */ + /* Otherwise, compare UTC time */ a = le64toh(ao->entry.realtime); b = le64toh(bo->entry.realtime); diff --git a/src/libsystemd/sd-bus/bus-kernel.c b/src/libsystemd/sd-bus/bus-kernel.c index 712ef00fcb..8699d30b64 100644 --- a/src/libsystemd/sd-bus/bus-kernel.c +++ b/src/libsystemd/sd-bus/bus-kernel.c @@ -299,8 +299,8 @@ static int bus_message_setup_kmsg(sd_bus *b, sd_bus_message *m) { continue; } - /* Otherwise let's send a vector to the actual data, - * for that we need to map it first. */ + /* Otherwise, let's send a vector to the actual data. + * For that, we need to map it first. */ r = bus_body_part_map(part); if (r < 0) goto fail; diff --git a/src/shared/cgroup-util.c b/src/shared/cgroup-util.c index 1aa81c2cd1..06eb453d1a 100644 --- a/src/shared/cgroup-util.c +++ b/src/shared/cgroup-util.c @@ -1041,7 +1041,7 @@ int cg_mangle_path(const char *path, char **result) { assert(path); assert(result); - /* First check if it already is a filesystem path */ + /* First, check if it already is a filesystem path */ if (path_startswith(path, "/sys/fs/cgroup")) { t = strdup(path); @@ -1053,7 +1053,7 @@ int cg_mangle_path(const char *path, char **result) { return 0; } - /* Otherwise treat it as cg spec */ + /* Otherwise, treat it as cg spec */ r = cg_split_spec(path, &c, &p); if (r < 0) return r; diff --git a/src/udev/udev-builtin-usb_id.c b/src/udev/udev-builtin-usb_id.c index 1b9f8246fb..883e11eb07 100644 --- a/src/udev/udev-builtin-usb_id.c +++ b/src/udev/udev-builtin-usb_id.c @@ -219,9 +219,9 @@ static int dev_if_packed_info(struct udev_device *dev, char *ifs_str, size_t len * A unique USB identification is generated like this: * * 1.) Get the USB device type from InterfaceClass and InterfaceSubClass - * 2.) If the device type is 'Mass-Storage/SPC-2' or 'Mass-Storage/RBC' + * 2.) If the device type is 'Mass-Storage/SPC-2' or 'Mass-Storage/RBC', * use the SCSI vendor and model as USB-Vendor and USB-model. - * 3.) Otherwise use the USB manufacturer and product as + * 3.) Otherwise, use the USB manufacturer and product as * USB-Vendor and USB-model. Any non-printable characters * in those strings will be skipped; a slash '/' will be converted * into a full stop '.'. |