summaryrefslogtreecommitdiff
path: root/examples/libsmbclient/tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/libsmbclient/tree.c')
-rw-r--r--examples/libsmbclient/tree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/libsmbclient/tree.c b/examples/libsmbclient/tree.c
index 8dc9cc408b..f50b3670cf 100644
--- a/examples/libsmbclient/tree.c
+++ b/examples/libsmbclient/tree.c
@@ -706,9 +706,9 @@ int main( int argc,
/* Now, build the top level display ... */
- if ((dh = smbc_opendir("smb:///")) < 0) {
+ if ((dh = smbc_opendir("smb://")) < 0) {
- fprintf(stderr, "Could not list default workgroup: smb:///: %s\n",
+ fprintf(stderr, "Could not list workgroups: smb://: %s\n",
strerror(errno));
exit(1);