summaryrefslogtreecommitdiff
path: root/udev/udev-builtin-path_id.c
diff options
context:
space:
mode:
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,
};