* Uwe Hermann <[EMAIL PROTECTED]> [071017 23:20]:
> See patch.
> 
> 
> Uwe.
> -- 
> http://www.hermann-uwe.de  | http://www.holsham-traders.de
> http://www.crazy-hacks.org | http://www.unmaintained-free-software.org

> Print the version number always, not only in verbose mode.
> 
> We often want to know the exact version number of superiotool which
> was used to gather a certain output/dump.
> 
> Signed-off-by: Uwe Hermann <[EMAIL PROTECTED]>

Acked-by: Stefan Reinauer <[EMAIL PROTECTED]>


> Index: superiotool.c
> ===================================================================
> --- superiotool.c     (Revision 2854)
> +++ superiotool.c     (Arbeitskopie)
> @@ -196,8 +196,6 @@
>                       dump_readable = 1;
>                       break;
>               case 'V':
> -                     /* Print version in --verbose mode. */
> -                     print_version();
>                       verbose = 1;
>                       break;
>               case 'v':
> @@ -221,6 +219,8 @@
>               exit(1);
>       }
>  
> +     print_version();
> +
>       for (i = 0; i < ARRAY_SIZE(superio_ports_table); i++) {
>               for (j = 0; superio_ports_table[i].ports[j] != EOT; j++)
>                       superio_ports_table[i].probe_idregs(




> -- 
> linuxbios mailing list
> linuxbios@linuxbios.org
> http://www.linuxbios.org/mailman/listinfo/linuxbios

-- 
coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br.
      Tel.: +49 761 7668825 • Fax: +49 761 7664613
Email: [EMAIL PROTECTED]  • http://www.coresystems.de/
Registergericht: Amtsgericht Freiburg • HRB 7656
Geschäftsführer: Stefan Reinauer • Ust-IdNr.: DE245674866

-- 
linuxbios mailing list
linuxbios@linuxbios.org
http://www.linuxbios.org/mailman/listinfo/linuxbios

Reply via email to