Skip to content

Commit

Permalink
Follow-up to 042416c
Browse files Browse the repository at this point in the history
Signed-off-by: Joachim Wiberg <[email protected]>
  • Loading branch information
troglobit committed Jan 1, 2024
1 parent fac92f7 commit 4341293
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wdt.c
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,7 @@ static int create_bootstatus(char *fn, wdog_reason_t *r, pid_t pid)
fprintf(fp, " \"fw-version\": %u,\n", dev->info.firmware_version);
fprintf(fp, " \"timeout\": %d,\n", dev->timeout);
fprintf(fp, " \"interval\": %d,\n", dev->interval);
fprintf(fp, " \"safe-exit\": %s,\n", (dev->safe-exit != 0) ? "true" : "false");
fprintf(fp, " \"safe-exit\": %s,\n", dev->magic ? "true" : "false");
fprintf(fp, " \"capabilities\": {\n");
fprintf(fp, " \"mask\":\"0x%04x\",\n", dev->info.options);
fprintf(fp, " \"flags\": [ %s ]\n", wdt_flags(dev->info.options, 1));
Expand Down

0 comments on commit 4341293

Please sign in to comment.