mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 12:54:27 +00:00
Do not +1 with MAXPATHLEN.
Reviewed by: imp
This commit is contained in:
parent
01df2ec328
commit
bf8aef63e1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=95331
|
@ -82,7 +82,7 @@
|
||||||
extern char cam_errbuf[];
|
extern char cam_errbuf[];
|
||||||
|
|
||||||
struct cam_device {
|
struct cam_device {
|
||||||
char device_path[MAXPATHLEN+1];/*
|
char device_path[MAXPATHLEN];/*
|
||||||
* Pathname of the device
|
* Pathname of the device
|
||||||
* given by the user. This
|
* given by the user. This
|
||||||
* may be null if the
|
* may be null if the
|
||||||
|
|
Loading…
Reference in a new issue