diff options
Diffstat (limited to 'locale/programs/localedef.c')
-rw-r--r-- | locale/programs/localedef.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/locale/programs/localedef.c b/locale/programs/localedef.c index 719cfd3bb7..0a60d5c209 100644 --- a/locale/programs/localedef.c +++ b/locale/programs/localedef.c @@ -374,7 +374,7 @@ construct_output_path (char *path) output_prefix ?: "", LOCALEDIR, (int) (startp - path), path, normal, endp, '\0'); - endp = result + n; + endp = result + n - 1; } else { |