udevadm: info - fix broken --device-id-of-file=

This commit is contained in:
Kay Sievers 2008-09-03 19:50:36 +02:00
parent 593453115b
commit cce9d77393

View File

@ -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;
}