svn@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");
??