summaryrefslogtreecommitdiffstats
path: root/lib/libcam
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2002-04-23 23:58:20 +0000
committerobrien <obrien@FreeBSD.org>2002-04-23 23:58:20 +0000
commit73fc976f748e60a9e8c942e99717a38e89a004bd (patch)
treee24bb6e5879727481ee57823de29dc1aacc3b949 /lib/libcam
parentc8378615464233ebe8d09d2c58dbd40032d77e45 (diff)
downloadFreeBSD-src-73fc976f748e60a9e8c942e99717a38e89a004bd.zip
FreeBSD-src-73fc976f748e60a9e8c942e99717a38e89a004bd.tar.gz
Do not +1 with MAXPATHLEN.
Reviewed by: imp
Diffstat (limited to 'lib/libcam')
-rw-r--r--lib/libcam/camlib.h2
1 files changed, 1 insertions, 1 deletions
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
OpenPOWER on IntegriCloud