mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-18 11:11:27 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user