in mfs_print: mfs_baseoff is a pointer, should be printed as %p, and
should NOT be cast to unsigned int.
This commit is contained in:
parent
c0cdc0cf04
commit
9c95634273
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: mfs_vnops.c,v 1.6 1996/02/09 22:31:30 christos Exp $ */
|
||||
/* $NetBSD: mfs_vnops.c,v 1.7 1996/02/21 00:06:45 cgd Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1989, 1993
|
||||
@ -331,8 +331,8 @@ mfs_print(v)
|
||||
} */ *ap = v;
|
||||
register struct mfsnode *mfsp = VTOMFS(ap->a_vp);
|
||||
|
||||
printf("tag VT_MFS, pid %d, base %d, size %d\n", mfsp->mfs_pid,
|
||||
(unsigned int) mfsp->mfs_baseoff, mfsp->mfs_size);
|
||||
printf("tag VT_MFS, pid %d, base %p, size %d\n", mfsp->mfs_pid,
|
||||
mfsp->mfs_baseoff, mfsp->mfs_size);
|
||||
return (0);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user