mirror of
https://github.com/systemd/systemd.git
synced 2025-03-31 14:50:15 +03:00
bootchart: more useful error message for common error
Reported-by: tfirg_ on IRC
This commit is contained in:
parent
b53a2485a4
commit
de49f273e2
@ -176,7 +176,7 @@ vmstat_next:
|
||||
/* overall CPU utilization */
|
||||
schedstat = openat(procfd, "schedstat", O_RDONLY);
|
||||
if (schedstat == -1) {
|
||||
log_error_errno(errno, "Failed to open /proc/schedstat: %m");
|
||||
log_error_errno(errno, "Failed to open /proc/schedstat (requires CONFIG_SCHEDSTATS=y in kernel config): %m");
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user