diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-03-09 03:13:49 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-03-09 03:13:49 +0000 |
commit | 806de81a5d7719f2316d641709fe3eaae8e6c587 (patch) | |
tree | 35672c1a2c13b68e28cb3f54131bb1058dff2145 /sys/vm/vm_swap.c | |
parent | 7ecb284739f3f5a91dea1828150f23f769fc98b7 (diff) |
PATH_MAX+1 is wrong. Not cranking libc/libc_r majors over this, since they just got cranked a little while ago. discussion with millert
Diffstat (limited to 'sys/vm/vm_swap.c')
-rw-r--r-- | sys/vm/vm_swap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/vm/vm_swap.c b/sys/vm/vm_swap.c index da769c91d9a..68e2e0f5fd2 100644 --- a/sys/vm/vm_swap.c +++ b/sys/vm/vm_swap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vm_swap.c,v 1.14 2001/03/01 21:38:35 csapuntz Exp $ */ +/* $OpenBSD: vm_swap.c,v 1.15 2001/03/09 03:13:48 deraadt Exp $ */ /* $NetBSD: vm_swap.c,v 1.64 1998/11/08 19:45:17 mycroft Exp $ */ /* @@ -335,7 +335,7 @@ sys_swapctl(p, v, retval) struct swappri *spp; struct swapdev *sdp; struct swapent *sep; - char userpath[PATH_MAX + 1]; + char userpath[MAXPATHLEN]; int count, error, misc; size_t len; int priority; |