summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/register.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mbbsd/register.c b/mbbsd/register.c
index ce3b1b07..e0ef1609 100644
--- a/mbbsd/register.c
+++ b/mbbsd/register.c
@@ -1636,6 +1636,7 @@ static int
print_regform_entry_localized(const RegformEntry *pre, FILE *fp)
{
char buf[STRLEN * 6];
+ buf[0] = '\0';
concat_regform_entry_localized(pre, buf, sizeof(buf));
fputs(buf, fp);
return 1;