Author: vlendec Date: 2006-05-06 13:33:14 +0000 (Sat, 06 May 2006) New Revision: 15471
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=15471 Log: Clarify error message Modified: branches/SAMBA_3_0/source/utils/net_ads.c branches/SAMBA_3_0/source/utils/net_rpc.c trunk/source/utils/net_ads.c trunk/source/utils/net_rpc.c Changeset: Modified: branches/SAMBA_3_0/source/utils/net_ads.c =================================================================== --- branches/SAMBA_3_0/source/utils/net_ads.c 2006-05-06 11:44:00 UTC (rev 15470) +++ branches/SAMBA_3_0/source/utils/net_ads.c 2006-05-06 13:33:14 UTC (rev 15471) @@ -733,8 +733,8 @@ } 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; } Modified: branches/SAMBA_3_0/source/utils/net_rpc.c =================================================================== --- branches/SAMBA_3_0/source/utils/net_rpc.c 2006-05-06 11:44:00 UTC (rev 15470) +++ branches/SAMBA_3_0/source/utils/net_rpc.c 2006-05-06 13:33:14 UTC (rev 15471) @@ -395,8 +395,8 @@ } 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; } Modified: trunk/source/utils/net_ads.c =================================================================== --- trunk/source/utils/net_ads.c 2006-05-06 11:44:00 UTC (rev 15470) +++ trunk/source/utils/net_ads.c 2006-05-06 13:33:14 UTC (rev 15471) @@ -733,8 +733,8 @@ } 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; } Modified: trunk/source/utils/net_rpc.c =================================================================== --- trunk/source/utils/net_rpc.c 2006-05-06 11:44:00 UTC (rev 15470) +++ trunk/source/utils/net_rpc.c 2006-05-06 13:33:14 UTC (rev 15471) @@ -395,8 +395,8 @@ } 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; }
