Readd removal of git short sha from toaruos version in 'about'

This commit is contained in:
K. Lange 2018-06-04 20:02:00 +09:00
parent d37d5fc16f
commit 6a64a9013e

View File

@ -64,6 +64,10 @@ static void init_default(void) {
version_str = malloc(100);
struct utsname u;
uname(&u);
char * tmp = strstr(u.release, "-");
if (tmp) {
*tmp = '\0';
}
sprintf(version_str, "ToaruOS-NIH %s", u.release);
}