From 3648b00e16d3e7f1a017c19fa76371feee3dcdd5 Mon Sep 17 00:00:00 2001 From: TheDarkBug Date: Thu, 22 Jul 2021 15:31:34 +0200 Subject: [PATCH] Another little fix for last commit --- uwufetch.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/uwufetch.c b/uwufetch.c index c077b7c..255157e 100644 --- a/uwufetch.c +++ b/uwufetch.c @@ -406,7 +406,6 @@ void get_info() break; } } -#ifndef __FREEBSD__ while (fgets(line, sizeof(line), cpuinfo)) #ifdef __FREEBSD__ if (sscanf(line, "hw.model: %[^\n]", cpu_model)) @@ -415,7 +414,6 @@ void get_info() #endif break; sprintf(user, "%s", getenv("USER")); -#endif if (iscygwin == 0) fclose(os_release); } @@ -1058,4 +1056,4 @@ void remove_brackets(char *str) else i++; } -} \ No newline at end of file +}