summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-09-18 20:25:33 +0200
committerAnthony G. Basile <blueness@gentoo.org>2014-09-18 18:59:24 -0400
commitd3715a4b2a06c0c568910afb608db8a788c48f37 (patch)
treeba4db7d205c560cdd40dcfa25e3b14fe411bdeb9 /src
parent90950ff5475320158979e06e1dc202ce78fb9692 (diff)
udev: fix typos
Spotted by Andreas Henriksson. Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'src')
-rw-r--r--src/udev/udev-ctrl.c2
-rw-r--r--src/udev/udevd.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/udev/udev-ctrl.c b/src/udev/udev-ctrl.c
index 6f465166fb..7986b2af27 100644
--- a/src/udev/udev-ctrl.c
+++ b/src/udev/udev-ctrl.c
@@ -226,7 +226,7 @@ struct udev_ctrl_connection *udev_ctrl_get_connection(struct udev_ctrl *uctrl) {
/* 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;
diff --git a/src/udev/udevd.c b/src/udev/udevd.c
index a3f971c649..4ed7b4f58e 100644
--- a/src/udev/udevd.c
+++ b/src/udev/udevd.c
@@ -1087,7 +1087,7 @@ static int parse_argv(int argc, char *argv[]) {
case 't':
r = safe_atou64(optarg, &arg_event_timeout_usec);
if (r < 0)
- log_warning("Invalig --event-timeout ignored: %s", optarg);
+ log_warning("Invalid --event-timeout ignored: %s", optarg);
else {
arg_event_timeout_usec *= USEC_PER_SEC;
arg_event_timeout_warn_usec = (arg_event_timeout_usec / 3) ? : 1;