aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/fstyp/ufs.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/fstyp/ufs.c')
-rw-r--r--usr.sbin/fstyp/ufs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/fstyp/ufs.c b/usr.sbin/fstyp/ufs.c
index 340119dada4c..4002fc89c9ee 100644
--- a/usr.sbin/fstyp/ufs.c
+++ b/usr.sbin/fstyp/ufs.c
@@ -50,7 +50,7 @@ fstyp_ufs(FILE *fp, char *label, size_t labelsize)
{
struct fs *fs;
- switch (sbget(fileno(fp), &fs, -1)) {
+ switch (sbget(fileno(fp), &fs, STDSB)) {
case 0:
strlcpy(label, fs->fs_volname, labelsize);
return (0);