diff options
author | 2001-03-09 03:13:47 +0000 | |
---|---|---|
committer | 2001-03-09 03:13:47 +0000 | |
commit | dfd7462638a1ff4aecaa0e108a48e9b14bb57c00 (patch) | |
tree | 581cf584f928ddda9cc971d73c6a597b9c8cd48d /lib/libc/sys | |
parent | Move nanosleep() proto to from sys/time.h to time.h where it belongs. (diff) | |
download | wireguard-openbsd-dfd7462638a1ff4aecaa0e108a48e9b14bb57c00.tar.xz wireguard-openbsd-dfd7462638a1ff4aecaa0e108a48e9b14bb57c00.zip |
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 |