summaryrefslogtreecommitdiff
path: root/lib-src
diff options
context:
space:
mode:
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/etags.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib-src/etags.c b/lib-src/etags.c
index 73dd5a8a405..f124d290da3 100644
--- a/lib-src/etags.c
+++ b/lib-src/etags.c
@@ -3355,7 +3355,7 @@ C_entries (int c_ext, FILE *inf)
{
linebuffer_setlen (&token_name, toklen);
sprintf (token_name.buffer, "%.*s",
- newlb.buffer + tokoff);
+ toklen, newlb.buffer + tokoff);
}
token.named = true;
}