1
0
mirror of https://github.com/systemd/systemd.git synced 2025-01-21 22:04:01 +03:00

readahead: properly initialize variable

This commit is contained in:
Lennart Poettering 2010-09-27 03:24:39 +02:00
parent 1a34d367d1
commit 858209c51f
2 changed files with 2 additions and 2 deletions

View File

@ -200,7 +200,7 @@ static int qsort_compare(const void *a, const void *b) {
static int collect(const char *root) {
enum {
FD_FANOTIFY, /* Get the actualy fs events */
FD_FANOTIFY, /* Get the actual fs events */
FD_SIGNAL,
FD_INOTIFY, /* We get notifications to quit early via this fd */
_FD_MAX

View File

@ -114,7 +114,7 @@ finish:
}
static int replay(const char *root) {
FILE *pack;
FILE *pack = NULL;
char line[LINE_MAX];
int r = 0;
char *pack_fn = NULL, c;