X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fbootchart%2Fsvg.c;h=7438e472fb29415af15294b33c57c9a14310cdb3;hb=7ba4fedb8048182fb765bd6ae5aa1e548389bef3;hp=97c8237aaa26e62f446b588ea9878edfdd63c6b3;hpb=4987623d011c534a22a490b17a8e0ec81d1ac30c;p=elogind.git diff --git a/src/bootchart/svg.c b/src/bootchart/svg.c index 97c8237aa..7438e472f 100644 --- a/src/bootchart/svg.c +++ b/src/bootchart/svg.c @@ -1248,7 +1248,7 @@ static void svg_top_ten_pss(void) { void svg_do(const char *build) { struct ps_struct *ps; - memset(&str, 0, sizeof(str)); + memzero(&str, sizeof(str)); ps = ps_first;