1
0
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:
Shawn Landden 2015-03-23 03:51:35 -07:00 committed by Zbigniew Jędrzejewski-Szmek
parent b53a2485a4
commit de49f273e2

View File

@ -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);
}
}