From a8ccc2aa89c78108566c67b9e853797ea451f9c8 Mon Sep 17 00:00:00 2001 From: hwspeedy Date: Fri, 24 May 2024 10:20:25 +0200 Subject: FIX GCC Warnings, added more checking to gcc flags --- modules/computer/boots.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/computer/boots.c') diff --git a/modules/computer/boots.c b/modules/computer/boots.c index 52c122e4..40827649 100644 --- a/modules/computer/boots.c +++ b/modules/computer/boots.c @@ -41,7 +41,7 @@ scan_boots_real(void) &out, &err, NULL, NULL); if (spawned && out != NULL) { p = out; - while(next_nl = strchr(p, '\n')) { + while((next_nl = strchr(p, '\n'))) { strend(p, '\n'); if (strstr(p, "system boot")) { s = p; -- cgit v1.2.3