summaryrefslogtreecommitdiffstats
path: root/src/bfstd.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2023-10-12 23:52:49 -0400
committerTavian Barnes <tavianator@tavianator.com>2023-10-12 23:52:49 -0400
commit6539791c7da12ab9e1dcca445faf1cd0b0bb302a (patch)
treeaedf2919c91da3e05c0ee95965a6597b5956bfca /src/bfstd.c
parentda21718ab320f144e22b6b1147fc8b5d6401870a (diff)
parentc25fa4fb5e58e20ce97c3747c05d26307a70baaa (diff)
downloadbfs-6539791c7da12ab9e1dcca445faf1cd0b0bb302a.tar.xz
Merge tag '3.0.4'
Diffstat (limited to 'src/bfstd.c')
-rw-r--r--src/bfstd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bfstd.c b/src/bfstd.c
index e9214d4..a4ae439 100644
--- a/src/bfstd.c
+++ b/src/bfstd.c
@@ -301,7 +301,7 @@ const char *xstrerror(int errnum) {
}
if (copy != (locale_t)0) {
- ret = strerror_l(errnum, loc);
+ ret = strerror_l(errnum, copy);
}
if (loc == LC_GLOBAL_LOCALE) {