aboutsummaryrefslogtreecommitdiff
path: root/modules/computer/ubuntu_flavors.c
diff options
context:
space:
mode:
authorhwspeedy <ns@bigbear.dk>2024-05-24 10:20:25 +0200
committerhwspeedy <ns@bigbear.dk>2024-05-24 10:20:25 +0200
commita8ccc2aa89c78108566c67b9e853797ea451f9c8 (patch)
tree9499a58b04a6baf1ab4a0741f7a31d3ddbc0fbc8 /modules/computer/ubuntu_flavors.c
parent25c366a8074af72c0811a960b947302bed036669 (diff)
FIX GCC Warnings, added more checking to gcc flags
Diffstat (limited to 'modules/computer/ubuntu_flavors.c')
-rw-r--r--modules/computer/ubuntu_flavors.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/computer/ubuntu_flavors.c b/modules/computer/ubuntu_flavors.c
index ac67d665..c88dc5ff 100644
--- a/modules/computer/ubuntu_flavors.c
+++ b/modules/computer/ubuntu_flavors.c
@@ -66,7 +66,7 @@ GSList *ubuntu_flavors_scan(void) {
&out, &err, &exit_status, NULL);
if (spawned) {
p = out;
- while(next_nl = strchr(p, '\n')) {
+ while((next_nl = strchr(p, '\n'))) {
strend(p, '\n');
int mc = 0;
char pkg[32] = "";