summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sbin/dumpfs/dumpfs.c3
1 files changed, 2 insertions, 1 deletions
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 <fcntl.h>
#include <fstab.h>
#include <libufs.h>
+#include <paths.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
@@ -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;
}
OpenPOWER on IntegriCloud