iscsi-scst: Fixed a compiler warning in the user space code (merged r2107 from the trunk).

git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.0.0.x@2690 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2010-11-13 15:49:29 +00:00
parent ebd3b46c66
commit bab68da2dd

View File

@@ -679,7 +679,7 @@ static int handle_target_redirect(struct target *target, char *p)
}
if (strlen(addr) >= sizeof(target->redirect.addr)) {
log_error("Too long addr %s, max allowed %d", addr,
log_error("Too long addr %s, max allowed %zd", addr,
sizeof(target->redirect.addr)-1);
res = -ERANGE;
goto out;