From 925d28e4a7b812ffc2cafe020b61fe93230ffd98 Mon Sep 17 00:00:00 2001 From: Sebastian Wick Date: Thu, 9 Jan 2014 00:46:25 +0100 Subject: [PATCH] crashcatcher uname error checking --- apps/openmw/crashcatcher.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/openmw/crashcatcher.cpp b/apps/openmw/crashcatcher.cpp index d7ebc0d47..65a036919 100644 --- a/apps/openmw/crashcatcher.cpp +++ b/apps/openmw/crashcatcher.cpp @@ -177,7 +177,7 @@ static void sys_info(void) { #ifdef __unix__ struct utsname info; - if(!uname(&info)) + if(uname(&info)) printf("!!! Failed to get system information\n"); else printf("System: %s %s %s %s %s\n",