Differentiate messages in the log files if they are caused by an hardware issue

This commit is contained in:
Andrea Mazzoleni 2026-02-01 20:21:28 +01:00
parent 85f3f0217c
commit d3f7bf64c1
33 changed files with 934 additions and 886 deletions

View file

@ -365,7 +365,7 @@ int state_status(struct snapraid_state* state)
log_flush();
if (!count) {
log_fatal("The array is empty.\n");
log_fatal(EUSER, "The array is empty.\n");
free(timemap);
return 0;
}