[LTP] [PATCH] quotactl01: replace int comparison with memcmp
Jan Stancek
jstancek@redhat.com
Mon Jan 16 14:33:30 CET 2017
----- Original Message -----
> From: "Cyril Hrubis" <chrubis@suse.cz>
> To: "Jan Stancek" <jstancek@redhat.com>
> Cc: ltp@lists.linux.it, "yangx jy" <yangx.jy@cn.fujitsu.com>
> Sent: Monday, 16 January, 2017 12:50:57 PM
> Subject: Re: [PATCH] quotactl01: replace int comparison with memcmp
>
> 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?
Replaced with simple assignment and pushed.
Regards,
Jan
>
> Otherwise this looks good, acked.
>
> --
> Cyril Hrubis
> chrubis@suse.cz
>
More information about the ltp
mailing list