[BusyBox] hdparm cmdline parsing
Tito
farmatito at tiscali.it
Fri Mar 19 14:55:04 UTC 2004
On Friday 19 March 2004 10:55, Erik Andersen wrote:
> On Thu Mar 18, 2004 at 03:22:32PM -0800, XuNiL wrote:
> > But when I use busybox hdparm I get this instead:
> >
> > # busybox hdparm -B 128 /dev/hda
> > hdparm: 128: No such file or directory
> >
> > OR
> >
> > # busybox hdparm -B128 /dev/hda
> >
> > /dev/hda:
> > setting APM level to 0x08 (8)
> >
> > I am using Gentoo x86, XFS kernel version 2.4.24 with GNU libc6 2.3.2
> > and gcc 3.3.2 merged from portage. Thanks for a wonderful program!
>
> Thanks for the great bug report! Fixed now in cvs,
>
Hi to all,
sorry for this bug, I don't tested it enough :-(.
BTW, printf at line 2839 should be a bb_error_msg.
2838 if (!set_apmmode)
2839 printf("-B: %s (1-255)", bb_msg_missing_value);
2840 break;
Ciao,
Tito
> -Erik
>
> --
> Erik B. Andersen http://codepoet-consulting.com/
> --This message was written using 73% post-consumer electrons--
>
More information about the busybox
mailing list