diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2020-04-28 13:47:08 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2020-04-28 13:47:08 -0400 |
commit | cb9722ca99d770a015cfdaa3ca5cfb96392d2cd3 (patch) | |
tree | 063ea9beb0ea31a89e31a43af6832d15be608645 /lib | |
parent | 94e1cd46a031b60ddaa51f3d08f61ec46c77a97b (diff) | |
download | spmc-cb9722ca99d770a015cfdaa3ca5cfb96392d2cd3.tar.gz |
Fix formatter bug
Diffstat (limited to 'lib')
-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); |