summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-05-06 13:33:14 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:16:51 -0500
commit18250bc299b824ce1b0e53e0a99432d4d1412eeb (patch)
tree7cc0ba090ea8e8a7d02db469ed8c442b52ac8a8a /source3
parentf2e788ca37b8c812ecaa2e6ccd380ebf68597bf0 (diff)
downloadsamba-18250bc299b824ce1b0e53e0a99432d4d1412eeb.tar.gz
samba-18250bc299b824ce1b0e53e0a99432d4d1412eeb.tar.bz2
samba-18250bc299b824ce1b0e53e0a99432d4d1412eeb.zip
r15471: Clarify error message
(This used to be commit f21adc04f745a966dbe6ef0b4ffd9729afa3fa78)
Diffstat (limited to 'source3')
-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;
}