aboutsummaryrefslogtreecommitdiff
path: root/lib/modules/iconv.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/modules/iconv.c')
-rw-r--r--lib/modules/iconv.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/modules/iconv.c b/lib/modules/iconv.c
index 89b22e4..7438ecb 100644
--- a/lib/modules/iconv.c
+++ b/lib/modules/iconv.c
@@ -6,7 +6,9 @@
See the file COPYING.LIB
*/
-#define FUSE_USE_VERSION 26
+#define FUSE_USE_VERSION 30
+
+#include <config.h>
#include <fuse.h>
#include <stdio.h>
@@ -631,7 +633,6 @@ static const struct fuse_operations iconv_oper = {
.flock = iconv_flock,
.bmap = iconv_bmap,
- .flag_nullpath_ok = 1,
.flag_nopath = 1,
};
@@ -649,7 +650,7 @@ static void iconv_help(void)
char *charmap = strdup(nl_langinfo(CODESET));
setlocale(LC_CTYPE, old);
free(old);
- fprintf(stderr,
+ printf(
" -o from_code=CHARSET original encoding of file names (default: UTF-8)\n"
" -o to_code=CHARSET new encoding of the file names (default: %s)\n",
charmap);