forked from pool/systemd
34 lines
1.4 KiB
Diff
34 lines
1.4 KiB
Diff
|
Based on 65fea570f03df51dadc06a3e0d261a71fe62aa01 Mon Sep 17 00:00:00 2001
|
||
|
From: Tom Gundersen <teg@jklm.no>
|
||
|
Date: Thu, 18 Sep 2014 20:25:33 +0200
|
||
|
Subject: [PATCH] udev: fix typos
|
||
|
|
||
|
Spotted by Andreas Henriksson.
|
||
|
---
|
||
|
src/udev/udev-ctrl.c | 2 +-
|
||
|
src/udev/udevd.c | 2 +-
|
||
|
2 files changed, 2 insertions(+), 2 deletions(-)
|
||
|
|
||
|
--- src/udev/udev-ctrl.c
|
||
|
+++ src/udev/udev-ctrl.c 2014-09-19 00:00:00.000000000 +0000
|
||
|
@@ -214,7 +214,7 @@ struct udev_ctrl_connection *udev_ctrl_g
|
||
|
/* enable receiving of the sender credentials in the messages */
|
||
|
r = setsockopt(conn->sock, SOL_SOCKET, SO_PASSCRED, &on, sizeof(on));
|
||
|
if (r < 0)
|
||
|
- log_warning("colud not set SO_PASSCRED: %m");
|
||
|
+ log_warning("could not set SO_PASSCRED: %m");
|
||
|
|
||
|
udev_ctrl_ref(uctrl);
|
||
|
return conn;
|
||
|
--- src/udev/udevd.c
|
||
|
+++ src/udev/udevd.c 2014-09-19 10:47:36.306235720 +0000
|
||
|
@@ -1088,7 +1088,7 @@ int main(int argc, char *argv[]) {
|
||
|
case 't':
|
||
|
r = safe_atou64(optarg, &event_timeout_usec);
|
||
|
if (r < 0)
|
||
|
- log_warning("Invalig --event-timeout ignored: %s", optarg);
|
||
|
+ log_warning("Invalid --event-timeout ignored: %s", optarg);
|
||
|
else {
|
||
|
event_timeout_usec *= USEC_PER_SEC;
|
||
|
event_timeout_warn_usec = (event_timeout_usec / 3) ? : 1;
|