mirror of
https://github.com/systemd/systemd.git
synced 2025-02-04 21:47:31 +03:00
udevadm: info - fix broken --device-id-of-file=
This commit is contained in:
parent
593453115b
commit
cce9d77393
@ -230,7 +230,7 @@ static int stat_device(const char *name, int export, const char *prefix)
|
|||||||
prefix, major(statbuf.st_dev),
|
prefix, major(statbuf.st_dev),
|
||||||
prefix, minor(statbuf.st_dev));
|
prefix, minor(statbuf.st_dev));
|
||||||
} else
|
} 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;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user