mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-30 08:35:52 -04:00
crashcatcher uname error checking
This commit is contained in:
parent
3127b8518e
commit
925d28e4a7
@ -177,7 +177,7 @@ static void sys_info(void)
|
|||||||
{
|
{
|
||||||
#ifdef __unix__
|
#ifdef __unix__
|
||||||
struct utsname info;
|
struct utsname info;
|
||||||
if(!uname(&info))
|
if(uname(&info))
|
||||||
printf("!!! Failed to get system information\n");
|
printf("!!! Failed to get system information\n");
|
||||||
else
|
else
|
||||||
printf("System: %s %s %s %s %s\n",
|
printf("System: %s %s %s %s %s\n",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user