[PATCH] smbcquotas.c: fix a bug of -t

Jeremy Allison jra at samba.org
Tue Jun 4 02:35:44 MDT 2013


On Mon, May 27, 2013 at 05:59:54PM +0800, Peng Haitao wrote:
> 'r' should be replaced with 't'.
> 
> Signed-off-by: Peng Haitao <penght at cn.fujitsu.com>
> ---
>  source3/utils/smbcquotas.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/source3/utils/smbcquotas.c b/source3/utils/smbcquotas.c
> index b875b1e..bf1f95c 100644
> --- a/source3/utils/smbcquotas.c
> +++ b/source3/utils/smbcquotas.c
> @@ -582,7 +582,7 @@ FSQLIM:<softlimit>/<hardlimit> for filesystem defaults\n\
>  FSQFLAGS:QUOTA_ENABLED/DENY_DISK/LOG_SOFTLIMIT/LOG_HARD_LIMIT", "SETSTRING" },
>  		{ "numeric", 'n', POPT_ARG_NONE, NULL, 'n', "Don't resolve sids or limits to names" },
>  		{ "verbose", 'v', POPT_ARG_NONE, NULL, 'v', "be verbose" },
> -		{ "test-args", 't', POPT_ARG_NONE, NULL, 'r', "Test arguments"},
> +		{ "test-args", 't', POPT_ARG_NONE, NULL, 't', "Test arguments"},
>  		POPT_COMMON_SAMBA
>  		POPT_COMMON_CREDENTIALS
>  		{ NULL }
> -- 

LGTM. Can I get another +1 on the (obvious) fix please ?

Thanks,

	Jeremy.


More information about the samba-technical mailing list