[PATCH] lshal - The next generation

Richard Hughes hughsient at gmail.com
Wed Nov 2 03:44:10 PST 2005


On Wed, 2005-11-02 at 11:41 +0100, Pierre Ossman wrote:
> -       dump_devices ();
> +       if (show_device)
> +               dump_device (show_device);
> +       else
> +               dump_devices ();

Shouldn't this be:

      if (show_device)
              dump_device (show_device);
      else if (!do_monitor)
              dump_devices ();

Else you list the device tree when you monitor.

Richard.



More information about the hal mailing list