summaryrefslogtreecommitdiff
path: root/udev/udev-builtin-path_id.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2011-12-21 22:30:48 +0100
committerKay Sievers <kay.sievers@vrfy.org>2011-12-21 22:30:48 +0100
commit81dadce58f80edae4dc45ba55a2c41cb0f26570b (patch)
tree59cee628c06f7255cbfb527e5cc45b9efcca2247 /udev/udev-builtin-path_id.c
parentf18f225cf1eac9b61849f10f387bc3628332d738 (diff)
prepare builtins for blkid and kmod
Diffstat (limited to 'udev/udev-builtin-path_id.c')
-rw-r--r--udev/udev-builtin-path_id.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/udev/udev-builtin-path_id.c b/udev/udev-builtin-path_id.c
index 61c50d77bd..97a9ace5c1 100644
--- a/udev/udev-builtin-path_id.c
+++ b/udev/udev-builtin-path_id.c
@@ -390,7 +390,7 @@ out:
return parent;
}
-static int builtin_path_id(struct udev_device *dev, bool test)
+static int builtin_path_id(struct udev_device *dev, const char *command, bool test)
{
struct udev_device *parent;
char *path = NULL;
@@ -483,4 +483,5 @@ const struct udev_builtin udev_builtin_path_id = {
.name = "path_id",
.cmd = builtin_path_id,
.help = "compose persistent device path",
+ .run_once = true,
};