summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-03-10 04:43:41 +0000
committermidipix <writeonce@midipix.org>2024-03-10 04:43:41 +0000
commitda73d2d1d4fd7cd8c3da869cf3986f41f0919864 (patch)
treea7798eef35e09127517bd79fad1f4019d090686d /src
parentb5f778b5228c4db9c6be9eb023afa3c3ff4d14db (diff)
downloadslibtool-da73d2d1d4fd7cd8c3da869cf3986f41f0919864.tar.bz2
slibtool-da73d2d1d4fd7cd8c3da869cf3986f41f0919864.tar.xz
slbt_ar_output_dlsyms_impl(): pretty printing: pass actual remaining line len.
Diffstat (limited to 'src')
-rw-r--r--src/arbits/slbt_archive_dlsyms.c6
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);