xyz-modem: va_start() must be matched by va_end()
Every va_start() call must be matched by a va_end() call. scripts/checkpatch.pl required reformatting the complete function zm_dprintf(). Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
This commit is contained in:
parent
e75ac7039a
commit
23c648982b
@ -187,6 +187,7 @@ zm_dprintf (char *fmt, ...)
|
||||
|
||||
va_start(args, fmt);
|
||||
len = diag_vsprintf(zm_out, fmt, args);
|
||||
va_end(args);
|
||||
zm_out += len;
|
||||
return len;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user