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 /lib/libc/sys | |
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 'lib/libc/sys')
-rw-r--r-- | lib/libc/sys/swapctl.2 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/sys/swapctl.2 b/lib/libc/sys/swapctl.2 index 1c4f1dc29af..43f915834c0 100644 --- a/lib/libc/sys/swapctl.2 +++ b/lib/libc/sys/swapctl.2 @@ -94,7 +94,7 @@ struct swapent { int se_nblks; /* total blocks */ int se_inuse; /* blocks in use */ int se_priority; /* priority */ - char se_path[PATH_MAX+1]; /* path to entry */ + char se_path[MAXPATHLEN]; /* path to entry */ }; .Ed .Pp |