Make "internal error, %s overflow" arguments consistent, using
__func__ where possible (when debugging is allowed).
This commit is contained in:
@@ -86,8 +86,7 @@ linux_audit_command(char *argv[], int result)
|
||||
for (av = argv; *av != NULL; av++) {
|
||||
n = strlcpy(cp, *av, size - (cp - command));
|
||||
if (n >= size - (cp - command)) {
|
||||
warningx(U_("internal error, %s overflow"),
|
||||
"linux_audit_command()");
|
||||
warningx(U_("internal error, %s overflow"), __func__);
|
||||
goto done;
|
||||
}
|
||||
cp += n;
|
||||
|
Reference in New Issue
Block a user