summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/net_ads.c4
-rw-r--r--source3/utils/net_rpc.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/source3/utils/net_ads.c b/source3/utils/net_ads.c
index 8076860569..f00bf0e527 100644
--- a/source3/utils/net_ads.c
+++ b/source3/utils/net_ads.c
@@ -733,8 +733,8 @@ int net_ads_join(int argc, const char **argv)
}
if (strlen(global_myname()) > 15) {
- d_printf("Our netbios name can only be 15 chars long, \"%s\""
- " is %d chars long\n",
+ d_printf("Our netbios name can be at most 15 chars long, "
+ "\"%s\" is %d chars long\n",
global_myname(), strlen(global_myname()));
return -1;
}
diff --git a/source3/utils/net_rpc.c b/source3/utils/net_rpc.c
index 5c32c23a84..0c9f411915 100644
--- a/source3/utils/net_rpc.c
+++ b/source3/utils/net_rpc.c
@@ -395,8 +395,8 @@ int net_rpc_join(int argc, const char **argv)
}
if (strlen(global_myname()) > 15) {
- d_printf("Our netbios name can only be 15 chars long, \"%s\""
- " is %d chars long\n",
+ d_printf("Our netbios name can be at most 15 chars long, "
+ "\"%s\" is %d chars long\n",
global_myname(), strlen(global_myname()));
return -1;
}