chiark / gitweb /
udev: fix typos
authorTom Gundersen <teg@jklm.no>
Thu, 18 Sep 2014 18:25:33 +0000 (20:25 +0200)
committerTom Gundersen <teg@jklm.no>
Thu, 18 Sep 2014 18:25:33 +0000 (20:25 +0200)
Spotted by Andreas Henriksson.

src/udev/udev-ctrl.c
src/udev/udevd.c

index d02147f..98fd3a9 100644 (file)
@@ -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;
index 9210da6..37db81c 100644 (file)
@@ -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;