diff options
author | midipix <writeonce@midipix.org> | 2024-03-10 04:43:41 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2024-03-10 04:43:41 +0000 |
commit | da73d2d1d4fd7cd8c3da869cf3986f41f0919864 (patch) | |
tree | a7798eef35e09127517bd79fad1f4019d090686d /src/arbits/slbt_archive_dlsyms.c | |
parent | b5f778b5228c4db9c6be9eb023afa3c3ff4d14db (diff) | |
download | slibtool-da73d2d1d4fd7cd8c3da869cf3986f41f0919864.tar.bz2 slibtool-da73d2d1d4fd7cd8c3da869cf3986f41f0919864.tar.xz |
slbt_ar_output_dlsyms_impl(): pretty printing: pass actual remaining line len.
Diffstat (limited to 'src/arbits/slbt_archive_dlsyms.c')
-rw-r--r-- | src/arbits/slbt_archive_dlsyms.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/arbits/slbt_archive_dlsyms.c b/src/arbits/slbt_archive_dlsyms.c index 6cacccd..5aebf96 100644 --- a/src/arbits/slbt_archive_dlsyms.c +++ b/src/arbits/slbt_archive_dlsyms.c @@ -139,19 +139,19 @@ static int slbt_ar_output_dlsyms_impl( memset(cline[5],0,72); cline[5][0] = '\n'; - len = snprintf(&cline[1][3],72, + len = snprintf(&cline[1][3],69, "backward-compatible dlsym table"); cline[1][3+len] = ' '; - len = snprintf(&cline[2][3],72, + len = snprintf(&cline[2][3],69, "Generated by %s (slibtool %d.%d.%d)", dctx->program, verinfo->major,verinfo->minor,verinfo->revision); cline[2][3+len] = ' '; - len = snprintf(&cline[3][3],72, + len = snprintf(&cline[3][3],69, "[commit reference: %s]", verinfo->commit); |