[LinuxBIOS] r2815 - trunk/util/superiotool
Stefan Reinauer
stepan at coresystems.de
Mon Oct 1 15:52:22 CEST 2007
svn at openbios.org wrote:
> De-uglify the --version output (trivial).
>
> - printf("superiotool %s\n", SUPERIOTOOL_VERSION);
> + strncpy((char *)&tmp,
> + (const char *)&SUPERIOTOOL_VERSION[6],
> + strlen(SUPERIOTOOL_VERSION) - 8);
> + printf("superiotool r%s\n", (char *)&tmp);
>
Hm.. is this less uglier? Does it look trivial? ;)
Is there any reason that this doesnt just say
printf ("superiotool r" SUPERIOTOOL_VERSION "\n");
??
--
coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br.
Tel.: +49 761 7668825 • Fax: +49 761 7664613
Email: info at coresystems.de • http://www.coresystems.de/
Registergericht: Amtsgericht Freiburg • HRB 7656
Geschäftsführer: Stefan Reinauer • Ust-IdNr.: DE245674866
More information about the coreboot
mailing list