mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-08 14:10:11 +01:00
fixed some compiler warnings
This commit is contained in:
+1
-1
@@ -10,7 +10,7 @@ void printTerminalName(FFstate* state, const char* pid)
|
||||
FILE* stat = fopen(file, "r");
|
||||
if(stat == NULL)
|
||||
{
|
||||
char error[256];
|
||||
char error[300];
|
||||
sprintf(error, "fopen(\"%s\", \"r\") == NULL", file);
|
||||
ffPrintError(state, "Terminal", error);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user