summaryrefslogtreecommitdiff
path: root/udev
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2008-09-03 19:50:36 +0200
committerKay Sievers <kay.sievers@vrfy.org>2008-09-03 19:50:36 +0200
commitcce9d77393c1af2c69f441feef8565969e5a417d (patch)
tree4245f0acb567026f0ca1a0a2f74ec2ecaeda44ba /udev
parent593453115b777368252ca4231537ad2a9e6d8ffb (diff)
udevadm: info - fix broken --device-id-of-file=
Diffstat (limited to 'udev')
-rw-r--r--udev/udevinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udev/udevinfo.c b/udev/udevinfo.c
index 738ffc67de..6501b57d1a 100644
--- a/udev/udevinfo.c
+++ b/udev/udevinfo.c
@@ -230,7 +230,7 @@ static int stat_device(const char *name, int export, const char *prefix)
prefix, major(statbuf.st_dev),
prefix, minor(statbuf.st_dev));
} else
- printf("%d %d\n", major(statbuf.st_dev), minor(statbuf.st_dev));
+ printf("%d:%d\n", major(statbuf.st_dev), minor(statbuf.st_dev));
return 0;
}