summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2021-02-03 17:55:14 +0100
committerStefan Metzmacher <metze@samba.org>2021-02-10 14:00:32 +0000
commitcc6102915b20088cfadb9d63b3c4784d8b3d9717 (patch)
tree71353a2aba6cb7e6acf9dbb3d65e97948cf60649 /examples
parentd052968260582290b3ced8f951d75603f642979d (diff)
downloadsamba-cc6102915b20088cfadb9d63b3c4784d8b3d9717.tar.gz
examples/fuse/smb2mount: fix compiler warning on ubuntu20.04 with -O3
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'examples')
-rw-r--r--examples/fuse/smb2mount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/fuse/smb2mount.c b/examples/fuse/smb2mount.c
index c64be573462..aefa90c4c78 100644
--- a/examples/fuse/smb2mount.c
+++ b/examples/fuse/smb2mount.c
@@ -115,7 +115,7 @@ int main(int argc, char *argv[])
}
share = strchr_m(server,'\\');
if (!share) {
- fprintf(stderr, "Invalid argument: %s\n", share);
+ fprintf(stderr, "Invalid argument: %s\n", server);
return -1;
}