diff options
author | Joseph Hunkeler <jhunkeler@users.noreply.github.com> | 2020-06-03 14:22:28 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-03 14:22:28 -0400 |
commit | 65934ab40dfba9be3c0d6cb535f4243e25920711 (patch) | |
tree | 9e985cd451ac619137e0137961ab124c6f42f9b2 /lib/relocation.c | |
parent | d12170bb0cb936f1e48a677dbd96822db55bbda3 (diff) | |
download | spmc-65934ab40dfba9be3c0d6cb535f4243e25920711.tar.gz |
Use correct struct member (#41)
Diffstat (limited to 'lib/relocation.c')
-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; } |