From 73fc976f748e60a9e8c942e99717a38e89a004bd Mon Sep 17 00:00:00 2001 From: obrien Date: Tue, 23 Apr 2002 23:58:20 +0000 Subject: Do not +1 with MAXPATHLEN. Reviewed by: imp --- lib/libcam/camlib.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libcam/camlib.h') diff --git a/lib/libcam/camlib.h b/lib/libcam/camlib.h index 46affd6..e505c77 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 -- cgit v1.1