diff options
Diffstat (limited to 'example/hello.c')
-rw-r--r-- | example/hello.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/example/hello.c b/example/hello.c index 57d3ecd..f307bf2 100644 --- a/example/hello.c +++ b/example/hello.c @@ -170,7 +170,7 @@ int main(int argc, char *argv[]) if (options.show_help) { show_help(argv[0]); assert(fuse_opt_add_arg(&args, "--help") == 0); - args.argv[0] = (char*) ""; + args.argv[0][0] = '\0'; } ret = fuse_main(args.argc, args.argv, &hello_oper, NULL); |