From fd66b2cc6488459c63d9bee9f89b972b3eec5cfc Mon Sep 17 00:00:00 2001 From: delphij Date: Thu, 14 Jul 2011 17:43:23 +0000 Subject: Use _PATH_DEV and make the format more consistent with GEOM_LABEL. Submitted by: ivoras --- sbin/dumpfs/dumpfs.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sbin/dumpfs') diff --git a/sbin/dumpfs/dumpfs.c b/sbin/dumpfs/dumpfs.c index 0ed9f59..c54fa2b 100644 --- a/sbin/dumpfs/dumpfs.c +++ b/sbin/dumpfs/dumpfs.c @@ -68,6 +68,7 @@ static const char rcsid[] = #include #include #include +#include #include #include #include @@ -146,7 +147,7 @@ int dumpfsid(void) { - printf("/dev/ufsid/%x%x\n", afs.fs_id[0], afs.fs_id[1]); + printf("%sufsid/%08x%08x\n", _PATH_DEV, afs.fs_id[0], afs.fs_id[1]); return 0; } -- cgit v1.1