summaryrefslogtreecommitdiffstats
path: root/src/login/logind-session-device.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-05-24 10:20:23 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-05-24 21:26:06 +0200
commit65df0ce39a1990e64eb74087270ac823ba0bd665 (patch)
tree3bddb9fa442005ac268510ba1f3b8eadbd9830bd /src/login/logind-session-device.c
parentportable: Fix memory leak in maybe_enable_disable() (diff)
downloadsystemd-65df0ce39a1990e64eb74087270ac823ba0bd665.tar.xz
systemd-65df0ce39a1990e64eb74087270ac823ba0bd665.zip
Minor wording fixes
Some NEWS entries are tweaked a bit to address complaints about readability from users. "udev" is pronounced as /ˈjuːdɛv/, like in "user", hence "a" not "an".
Diffstat (limited to '')
-rw-r--r--src/login/logind-session-device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/login/logind-session-device.c b/src/login/logind-session-device.c
index 19e00b996e..003dbc0a95 100644
--- a/src/login/logind-session-device.c
+++ b/src/login/logind-session-device.c
@@ -120,7 +120,7 @@ static int session_device_open(SessionDevice *sd, bool active) {
assert(sd->type != DEVICE_TYPE_UNKNOWN);
assert(sd->node);
- /* open device and try to get an udev_device from it */
+ /* open device and try to get a udev_device from it */
fd = open(sd->node, O_RDWR|O_CLOEXEC|O_NOCTTY|O_NONBLOCK);
if (fd < 0)
return -errno;