diff options
Diffstat (limited to 'sys/xfs/xfs_common-bsd.c')
-rw-r--r-- | sys/xfs/xfs_common-bsd.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/xfs/xfs_common-bsd.c b/sys/xfs/xfs_common-bsd.c index eac6fca8dd1..454df61fbd7 100644 --- a/sys/xfs/xfs_common-bsd.c +++ b/sys/xfs/xfs_common-bsd.c @@ -74,7 +74,11 @@ int xfs_suser(d_thread_t *p) { #if defined(HAVE_TWO_ARGUMENT_SUSER) +#ifdef __OpenBSD__ + return suser (p, SUSER_NOACCT); +#else return suser (xfs_proc_to_cred(p), NULL); +#endif #else return suser (p); #endif |