Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

libsmb: Bump WARNS to 2 and fix a warning.

  • Loading branch information...
commit 9581b82e394de41d36d060987c67d4de7999ab80 1 parent e669f13
Sascha Wildner authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  contrib/smbfs/lib/smb/rcfile.c
  2. +1 −1  lib/libsmb/Makefile
View
2  contrib/smbfs/lib/smb/rcfile.c
@@ -344,7 +344,7 @@ rc_getstring(struct rcfile *rcp, const char *section, const char *key,
if (error)
return error;
if (strlen(value) >= maxlen) {
- warnx("line too long for key '%s' in section '%s', max = %d\n", key, section, maxlen);
+ warnx("line too long for key '%s' in section '%s', max = %zu\n", key, section, maxlen);
return EINVAL;
}
strcpy(dest, value);
View
2  lib/libsmb/Makefile
@@ -2,7 +2,7 @@
LIB= smb
-WARNS?= 1
+WARNS?= 2
SHLIB_MAJOR= 2
Please sign in to comment.
Something went wrong with that request. Please try again.