[EMAIL PROTECTED] 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: [EMAIL PROTECTED] • http://www.coresystems.de/
Registergericht: Amtsgericht Freiburg • HRB 7656
Geschäftsführer: Stefan Reinauer • Ust-IdNr.: DE245674866
--
linuxbios mailing list
[email protected]
http://www.linuxbios.org/mailman/listinfo/linuxbios