diff options
Diffstat (limited to 'x86.c')
-rw-r--r-- | x86.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -45,12 +45,12 @@ char *get_sys_product() { rstrip(vendor); } #if defined(__linux__) - if (!vendor || !strlen(vendor)) { + if (!strlen(vendor)) { strcpy(vendor, get_sys_dmi_product()); rstrip(vendor); } #elif defined(__APPLE__) - if (!vendor || !strlen(vendor)) { + if (!strlen(vendor)) { strcpy(vendor, get_sys_product_darwin()); rstrip(vendor); } |