summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/bfstd.c2
-rw-r--r--src/config.h2
2 files changed, 2 insertions, 2 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) {
diff --git a/src/config.h b/src/config.h
index 980980a..38ca69b 100644
--- a/src/config.h
+++ b/src/config.h
@@ -22,7 +22,7 @@
# define BFS_COMMAND "bfs"
#endif
#ifndef BFS_VERSION
-# define BFS_VERSION "3.0.3"
+# define BFS_VERSION "3.0.4"
#endif
#ifndef BFS_HOMEPAGE
# define BFS_HOMEPAGE "https://tavianator.com/projects/bfs.html"