From 291e8e4589308938042d86bbc858a421bc29c2a0 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Wed, 9 Apr 2003 14:35:14 +0000 Subject: Use fprintf(f, ...) instead of plain printf() - patch by Ronan Waide (This used to be commit 49926d706f9d24dbdd7a878e2362a27667175a5c) --- source3/utils/smbcacls.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3') diff --git a/source3/utils/smbcacls.c b/source3/utils/smbcacls.c index 562fd9943f..9d8a657726 100644 --- a/source3/utils/smbcacls.c +++ b/source3/utils/smbcacls.c @@ -406,7 +406,7 @@ static void sec_desc_print(FILE *f, SEC_DESC *sd) fstring sidstr; uint32 i; - printf("REVISION:%d\n", sd->revision); + fprintf(f, "REVISION:%d\n", sd->revision); /* Print owner and group sid */ @@ -416,7 +416,7 @@ static void sec_desc_print(FILE *f, SEC_DESC *sd) fstrcpy(sidstr, ""); } - printf("OWNER:%s\n", sidstr); + fprintf(f, "OWNER:%s\n", sidstr); if (sd->grp_sid) { SidToString(sidstr, sd->grp_sid); -- cgit