From: odubaj <44674278+odubaj@users.noreply.github.com> Date: Mon, 11 Mar 2019 09:16:50 +0000 (+0100) Subject: Update count.c X-Git-Tag: v12.1.4~52^2^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6a6472993243b8ed31781792e8d00c8f2b614039;p=sysstat Update count.c removed memset() before sscanf() - not needed --- diff --git a/count.c b/count.c index 6424baa..3890e92 100644 --- a/count.c +++ b/count.c @@ -496,7 +496,6 @@ __nr_t get_filesystem_nr(void) * read filesystem type, * if filesystem type is autofs, skip it */ - memset(type, 0, sizeof(type)); pos2 = strchr(pos + 1, ' '); if (pos2 == NULL) continue;