chiark / gitweb /
fix typo in error message
[elogind.git] / udev_rules.c
index 1aedb111181f79cda426eab7d4914ccf553c3aba..623ca468584dce0f38a58c389141265baac51675 100644 (file)
@@ -293,7 +293,7 @@ static int find_free_number(const char *base, const char *devpath)
        static int warn = 1;
 
        if (warn) {
-               err("%%e is deprecated, will be removed and is unlikey to work correctly. Don't use it.");
+               err("%%e is deprecated, will be removed and is unlikely to work correctly. Don't use it.");
                warn = 0;
        }
 
@@ -610,7 +610,7 @@ found:
                                snprintf(udev->tmp_node, sizeof(udev->tmp_node), "%s/.tmp-%u-%u",
                                         udev_root, major(udev->devt), minor(udev->devt));
                                udev->tmp_node[sizeof(udev->tmp_node)-1] = '\0';
-                               udev_make_node(udev, udev->tmp_node, udev->devt, 0600, 0, 0);
+                               udev_node_mknod(udev, udev->tmp_node, udev->devt, 0600, 0, 0);
                        }
                        strlcat(string, udev->tmp_node, maxsize);
                        dbg("substitute temporary device node name '%s'", udev->tmp_node);