diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2003-04-09 14:34:53 +0000 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2003-04-09 14:34:53 +0000 |
commit | 427fb4a2812b4a3476b7dfd10d3a66fb756986da (patch) | |
tree | 263ffb4b4c08df53e3efea66efedc805f0930ac5 | |
parent | f88a3ebde4cbe75159d04b4fcd074ebf99c09794 (diff) | |
download | samba-427fb4a2812b4a3476b7dfd10d3a66fb756986da.tar.gz samba-427fb4a2812b4a3476b7dfd10d3a66fb756986da.tar.bz2 samba-427fb4a2812b4a3476b7dfd10d3a66fb756986da.zip |
Use fprintf(f, ...) instead of plain printf() - patch by Ronan Waide
(This used to be commit 890cc17c41b3940dcb7d4c2a52ab292bca7d18be)
-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 bce64df960..069ac56c67 100644 --- a/source3/utils/smbcacls.c +++ b/source3/utils/smbcacls.c @@ -408,7 +408,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 */ @@ -418,7 +418,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); |