summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-09-18 20:25:33 +0200
committerTom Gundersen <teg@jklm.no>2014-09-18 20:25:33 +0200
commit65fea570f03df51dadc06a3e0d261a71fe62aa01 (patch)
tree9de68778bb3cde17ff61d973bb57753b85215acd /src
parent4bbdff757ed4e718a3348b93439a03055cc5e3bc (diff)
udev: fix typos
Spotted by Andreas Henriksson.
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 d02147f0f2..98fd3a9acf 100644
--- a/src/udev/udev-ctrl.c
+++ b/src/udev/udev-ctrl.c
@@ -205,7 +205,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 9210da6c47..37db81c8bb 100644
--- a/src/udev/udevd.c
+++ b/src/udev/udevd.c
@@ -1060,7 +1060,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;