Readd removal of git short sha from toaruos version in 'about'
This commit is contained in:
parent
d37d5fc16f
commit
6a64a9013e
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user