269
267
FILE *pidfile = fopen(plymouth_pid, "r");
270
268
/* Try the new pid file location */
278
276
/* Try the old pid file location */
280
278
pidfile = fopen(plymouth_pid, "r");
289
287
/* Look for a plymouth process */
291
289
struct dirent **direntries = NULL;
292
290
ret = scandir("/proc", &direntries, is_plymouth, alphasort);
294
292
error_plus(0, errno, "scandir");
299
297
error_plus(0, errno, "sscanf");