diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/relocation.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/relocation.c b/lib/relocation.c index a14c8e4..a0ba6a6 100644 --- a/lib/relocation.c +++ b/lib/relocation.c @@ -314,7 +314,7 @@ int prefixes_write(const char *output_file, int mode, char **prefix, const char fprintf(SYSERROR); return -1; } - for (size_t i = 0; i < fsdata->record; i++) { + for (size_t i = 0; i < fsdata->num_records; i++) { if (S_ISDIR(fsdata->record[i]->st->st_mode)) { continue; } |