aboutsummaryrefslogtreecommitdiff
path: root/lib/shlib.c
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@users.noreply.github.com>2020-04-28 14:27:31 -0400
committerGitHub <noreply@github.com>2020-04-28 14:27:31 -0400
commitbdd8485de4cde8dba67b27146feda5fd821cd7ef (patch)
tree1f87a54f617b7054c2bb7b66e4e30488c40268f4 /lib/shlib.c
parent338abde356efcae6cf0a000b71b781d21c8733b6 (diff)
parent428849beb3be85cf69f3ca3029d330ee2f2d842f (diff)
downloadspmc-bdd8485de4cde8dba67b27146feda5fd821cd7ef.tar.gz
Merge pull request #31 from jhunkeler/strlist-helpers
Strlist helpers
Diffstat (limited to 'lib/shlib.c')
-rw-r--r--lib/shlib.c2
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);