diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2003-04-09 14:35:14 +0000 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2003-04-09 14:35:14 +0000 |
commit | 291e8e4589308938042d86bbc858a421bc29c2a0 (patch) | |
tree | 656d724b6298d561eaf0c6de7309ae743a6c10a0 /source3/utils | |
parent | a6e09de2fb4e525dd2eeb4df44709cb6117fe8bc (diff) | |
download | samba-291e8e4589308938042d86bbc858a421bc29c2a0.tar.gz samba-291e8e4589308938042d86bbc858a421bc29c2a0.tar.bz2 samba-291e8e4589308938042d86bbc858a421bc29c2a0.zip |
Use fprintf(f, ...) instead of plain printf() - patch by Ronan Waide
(This used to be commit 49926d706f9d24dbdd7a878e2362a27667175a5c)
Diffstat (limited to 'source3/utils')
-rw-r--r-- | source3/utils/smbcacls.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); |