← Commit list

94591a103

Denys Vlasenko
Denys Vlasenko
2025-07-19
SUCCESS Duration: 156s

Subject

bootchartd: check the result of opendir("/proc")

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

init/bootchartd.c+1 -1
@@ -133,7 +133,7 @@ static void dump_file(FILE *fp, const char *filename)
static int dump_procs(FILE *fp, int look_for_login_process)
{
struct dirent *entry;
- DIR *dir = opendir("/proc");
+ DIR *dir = xopendir("/proc");
int found_login_process = 0;
fputs(G.jiffy_line, fp);