Fixed a compiler warning.

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2107 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2010-09-12 17:44:11 +00:00
parent 72fb7b3644
commit 8c0c079be4

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;