Use _PATH_DEV and make the format more consistent with GEOM_LABEL.

Submitted by:	ivoras
This commit is contained in:
Xin LI 2011-07-14 17:43:23 +00:00
parent e0b17a622d
commit ef84bb4cd7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=224025

View File

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