mirror of
https://github.com/clearlinux/systemd-stable.git
synced 2026-10-03 15:30:38 +00:00
bootchart: more useful error message for common error
Reported-by: tfirg_ on IRC
This commit is contained in:
committed by
Zbigniew Jędrzejewski-Szmek
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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user