From 89e0e266ed98824f601b022c22217fb40ee2f201 Mon Sep 17 00:00:00 2001 From: Uri Simchoni Date: Fri, 16 Sep 2016 22:01:46 +0300 Subject: smbcquotas: fix error message listing quotas BUG: https://bugzilla.samba.org/show_bug.cgi?id=12270 Signed-off-by: Uri Simchoni Reviewed-by: Jeremy Allison (cherry picked from commit 610c26d74c1314142981e5cc31a0706a4a99766f) --- source3/utils/smbcquotas.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source3/utils') diff --git a/source3/utils/smbcquotas.c b/source3/utils/smbcquotas.c index e6f1dfb6d46..cda5f922c4f 100644 --- a/source3/utils/smbcquotas.c +++ b/source3/utils/smbcquotas.c @@ -408,9 +408,9 @@ static int do_quota(struct cli_state *cli, status = cli_list_user_quota( cli, quota_fnum, &qtl); if (!NT_STATUS_IS_OK(status)) { - d_printf("%s cli_set_user_quota %s\n", - nt_errstr(status), - username_str); + d_printf( + "%s cli_list_user_quota\n", + nt_errstr(status)); return -1; } dump_ntquota_list(&qtl,verbose,numeric,SidToString); -- cgit v1.2.1