Do not +1 with MAXPATHLEN.
Reviewed by: imp
This commit is contained in:
parent
c837861546
commit
73fc976f74
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user