From bf8aef63e10957004c61f8febdbc3921f9f190c9 Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Tue, 23 Apr 2002 23:58:20 +0000 Subject: [PATCH] Do not +1 with MAXPATHLEN. Reviewed by: imp --- lib/libcam/camlib.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libcam/camlib.h b/lib/libcam/camlib.h index 46affd619619..e505c77c43af 100644 --- a/lib/libcam/camlib.h +++ b/lib/libcam/camlib.h @@ -82,7 +82,7 @@ extern char cam_errbuf[]; struct cam_device { - char device_path[MAXPATHLEN+1];/* + char device_path[MAXPATHLEN];/* * Pathname of the device * given by the user. This * may be null if the