From 18250bc299b824ce1b0e53e0a99432d4d1412eeb Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 6 May 2006 13:33:14 +0000 Subject: r15471: Clarify error message (This used to be commit f21adc04f745a966dbe6ef0b4ffd9729afa3fa78) --- source3/utils/net_ads.c | 4 ++-- source3/utils/net_rpc.c | 4 ++-- 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; } -- cgit