On Sun, Oct 03, 2010 at 05:50:42PM +0200, Denys Vlasenko wrote:
> You can simplify this by using xatou16() or xatou_range().
Thanks for the tip, I'll polish the patch soon.
> > + if (opts & OPT_c) {
> > + printf("Setting maximal mount count to %d\n", max_mnt_count);
> > + STORE_LE(sb->s_max_mnt_count, (unsigned)max_mnt_count);
> > + }
> > +
> > + if (opts & OPT_i) {
> > + printf("Setting interval between checks to %u seconds\n",
> > check_interval);
> > + STORE_LE(sb->s_checkinterval, check_interval);
> > + }
>
> Are these messages needed? They look like bloat to me.
They are intended to match what the e2fsprogs implementation does. I'll
remove them if you think they don't fit in busybox.
--
Richard Braun
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox