From: Daan De Meyer Date: Thu, 18 Nov 2021 12:28:07 +0000 (+0000) Subject: journal: Use mf as variable name for MapField X-Git-Tag: v250-rc1~196^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ceb4192df6e38538e94e45e84a2d37f6187d7d27;p=thirdparty%2Fsystemd.git journal: Use mf as variable name for MapField So we can have a variable m for the max iovec size in the next commit like we do in the rest of the journal logic. --- diff --git a/src/journal/journald-audit.c b/src/journal/journald-audit.c index 504a6ec7269..e31e5453b82 100644 --- a/src/journal/journald-audit.c +++ b/src/journal/journald-audit.c @@ -266,7 +266,7 @@ static int map_all_fields( for (;;) { bool mapped = false; - const MapField *m; + const MapField *mf; const char *v; p += strspn(p, WHITESPACE); @@ -301,12 +301,12 @@ static int map_all_fields( } /* Try to map the kernel fields to our own names */ - for (m = map_fields; m->audit_field; m++) { - v = startswith(p, m->audit_field); + for (mf = map_fields; mf->audit_field; mf++) { + v = startswith(p, mf->audit_field); if (!v) continue; - r = m->map(m->journal_field, &v, iovec, n); + r = mf->map(mf->journal_field, &v, iovec, n); if (r < 0) return log_debug_errno(r, "Failed to parse audit array: %m");