summaryrefslogtreecommitdiffstats
path: root/sys/vm/vm_swap.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/vm/vm_swap.c')
-rw-r--r--sys/vm/vm_swap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/vm/vm_swap.c b/sys/vm/vm_swap.c
index 1280eac..30bc1c1 100644
--- a/sys/vm/vm_swap.c
+++ b/sys/vm/vm_swap.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)vm_swap.c 8.5 (Berkeley) 2/17/94
- * $Id: vm_swap.c,v 1.60 1999/02/25 05:37:18 dillon Exp $
+ * $Id: vm_swap.c,v 1.61 1999/04/10 17:54:43 eivind Exp $
*/
#include "opt_devfs.h"
@@ -209,7 +209,7 @@ swapon(p, uap)
struct nameidata nd;
int error;
- error = suser(p->p_ucred, &p->p_acflag);
+ error = suser(p);
if (error)
return (error);
OpenPOWER on IntegriCloud