diff options
-rw-r--r-- | lib/shlib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/shlib.c b/lib/shlib.c index 04dbb49..7eed058 100644 --- a/lib/shlib.c +++ b/lib/shlib.c @@ -104,7 +104,7 @@ StrList *shlib_deps(const char *filename) { // split on: "name /library/path" if ((field = split(data[offset_name], " ")) == NULL) { - sprintf(reason, "'%s' produced unreadable output", SPM_SHLIB_EXEC, i, offset_name); + sprintf(reason, "'%s' produced unreadable output at offset %zu", SPM_SHLIB_EXEC, offset_name); spmerrno = SPM_ERR_PARSE; spmerrno_cause(reason); |