summaryrefslogtreecommitdiffstats
path: root/sbin/camcontrol/modeedit.c
diff options
context:
space:
mode:
authorjohan <johan@FreeBSD.org>2003-02-20 21:07:59 +0000
committerjohan <johan@FreeBSD.org>2003-02-20 21:07:59 +0000
commitb8e76084ebcdc74f8d2e595baaf6fcff8f80d3e0 (patch)
tree2ec7011bd989f809329cda15b18559f7d72a53f6 /sbin/camcontrol/modeedit.c
parent72688ad7fe6ac65cbfc2c4d260ba7d901bf1bcc2 (diff)
downloadFreeBSD-src-b8e76084ebcdc74f8d2e595baaf6fcff8f80d3e0.zip
FreeBSD-src-b8e76084ebcdc74f8d2e595baaf6fcff8f80d3e0.tar.gz
Make camcontrol WARNS=2 clean.
Approved by: ken
Diffstat (limited to 'sbin/camcontrol/modeedit.c')
-rw-r--r--sbin/camcontrol/modeedit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/camcontrol/modeedit.c b/sbin/camcontrol/modeedit.c
index 589583d..7aeac58 100644
--- a/sbin/camcontrol/modeedit.c
+++ b/sbin/camcontrol/modeedit.c
@@ -641,7 +641,7 @@ modepage_read(FILE *file)
char *line; /* Pointer to static fgetln buffer. */
char *name; /* Name portion of the line buffer. */
char *value; /* Value portion of line buffer. */
- int length; /* Length of static fgetln buffer. */
+ size_t length; /* Length of static fgetln buffer. */
#define ABORT_READ(message, param) do { \
warnx(message, param); \
OpenPOWER on IntegriCloud