]> granicus.if.org Git - sysstat/commitdiff
Update rd_stats.c
authorodubaj <44674278+odubaj@users.noreply.github.com>
Mon, 11 Mar 2019 09:17:24 +0000 (10:17 +0100)
committerGitHub <noreply@github.com>
Mon, 11 Mar 2019 09:17:24 +0000 (10:17 +0100)
rd_stats.c

index 43e082ce5850541c2e405e9d73b7ac0021500197..d49aec00b3721a1b18fa4aedf678e70cd6154963 100644 (file)
@@ -2496,7 +2496,6 @@ __nr_t read_filesystem(struct stats_filesystem *st_filesystem, __nr_t nr_alloc)
                         * read filesystem type,
                         * if filesystem type is autofs, skip it 
                        */
-                       memset(type, 0, sizeof(type));
                        pos2 = strchr(pos + 1, ' ');
                        if (pos2 == NULL)
                                continue;