[LTP] [PATCH] quotactl01: replace int comparison with memcmp

Cyril Hrubis chrubis@suse.cz
Mon Jan 16 12:50:57 CET 2017


Hi!
> -	memset(fmt_buf, 0, sizeof(fmt_buf));
> +	memset(&fmt_buf, 0, sizeof(fmt_buf));

Hmm, we can simply do fmt_buf = 0 here now, right?

Otherwise this looks good, acked.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list