Use _PATH_DEV and make the format more consistent with GEOM_LABEL.
Submitted by: ivoras
This commit is contained in:
parent
e0b17a622d
commit
ef84bb4cd7
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=224025
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user