diff options
author | imp <imp@FreeBSD.org> | 2003-06-07 18:45:45 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2003-06-07 18:45:45 +0000 |
commit | 5a3c8adbb82ad3d6fd6a8b54b2a53a14d0ec008b (patch) | |
tree | 0d9ea4644e9fed3af608ef26f9661c39f2dda703 /usr.sbin/i4b | |
parent | 67d1c8d06139329874a52174d96bc268d344dab0 (diff) | |
download | FreeBSD-src-5a3c8adbb82ad3d6fd6a8b54b2a53a14d0ec008b.zip FreeBSD-src-5a3c8adbb82ad3d6fd6a8b54b2a53a14d0ec008b.tar.gz |
MAXPATHLEN includes trailing NUL
Diffstat (limited to 'usr.sbin/i4b')
-rw-r--r-- | usr.sbin/i4b/isdnd/exec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/i4b/isdnd/exec.c b/usr.sbin/i4b/isdnd/exec.c index 17bc88e..0c1254f 100644 --- a/usr.sbin/i4b/isdnd/exec.c +++ b/usr.sbin/i4b/isdnd/exec.c @@ -107,7 +107,7 @@ pid_t exec_prog(char *prog, char **arglist) { char tmp[MAXPATHLEN]; - char path[MAXPATHLEN+1]; + char path[MAXPATHLEN]; pid_t pid; int a; |