diff options
author | des <des@FreeBSD.org> | 2001-05-26 19:36:49 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2001-05-26 19:36:49 +0000 |
commit | 4edf66ad45433dfe5f2ebdca625183c9481390f2 (patch) | |
tree | 316d13dfb3e8a3dce66efab4b55fcee0f4f866a3 /lib/libfetch/common.c | |
parent | be44ddbe41c499f1c344859b8158dc7190505e17 (diff) | |
download | FreeBSD-src-4edf66ad45433dfe5f2ebdca625183c9481390f2.zip FreeBSD-src-4edf66ad45433dfe5f2ebdca625183c9481390f2.tar.gz |
MAXPATHLEN -> PATH_MAX
Diffstat (limited to 'lib/libfetch/common.c')
-rw-r--r-- | lib/libfetch/common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libfetch/common.c b/lib/libfetch/common.c index 34981e9..db25788 100644 --- a/lib/libfetch/common.c +++ b/lib/libfetch/common.c @@ -381,7 +381,7 @@ _fetch_add_entry(struct url_ent **p, int *size, int *len, } tmp = *p + *len; - snprintf(tmp->name, MAXPATHLEN, "%s", name); + snprintf(tmp->name, PATH_MAX, "%s", name); bcopy(stat, &tmp->stat, sizeof *stat); (*len)++; |