aboutsummaryrefslogtreecommitdiff
path: root/modules/computer/boots.c
diff options
context:
space:
mode:
Diffstat (limited to 'modules/computer/boots.c')
-rw-r--r--modules/computer/boots.c2
1 files changed, 1 insertions, 1 deletions
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;