diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2011-12-23 02:02:44 +0100 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2011-12-23 02:02:44 +0100 |
commit | e216e514cf0c3bc6352f43fa3a7ffad221200bca (patch) | |
tree | 0ebb4007064451265fc2a4b58ac7f82c6eb7011e /udev/udev-builtin-blkid.c | |
parent | db634679ad58b3205910c969ac5359b1d6f625ad (diff) |
build argv[] for builtin commands
Diffstat (limited to 'udev/udev-builtin-blkid.c')
-rw-r--r-- | udev/udev-builtin-blkid.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/udev/udev-builtin-blkid.c b/udev/udev-builtin-blkid.c index a787bf2f6c..04ad6a444d 100644 --- a/udev/udev-builtin-blkid.c +++ b/udev/udev-builtin-blkid.c @@ -105,7 +105,7 @@ static int probe_superblocks(blkid_probe pr) return blkid_do_safeprobe(pr); } -static int builtin_blkid(struct udev_device *dev, const char *command, bool test) +static int builtin_blkid(struct udev_device *dev, int argc, char *argv[], bool test) { char *device = "/dev/sda3"; int64_t offset = 0; @@ -167,5 +167,5 @@ const struct udev_builtin udev_builtin_blkid = { .name = "blkid", .cmd = builtin_blkid, .help = "filesystem and partition probing", - .run_once = false, + .run_once = true, }; |