diff options
author | Andrew Bartlett <abartlet@samba.org> | 2011-04-29 13:23:14 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2011-04-29 16:38:13 +1000 |
commit | 0a3c84b554f3862b3e558f62e67ceb8311b248ce (patch) | |
tree | acf760282a4bc495c69127ad38e22c06984e752c /source3/torture/masktest.c | |
parent | 317e19aeb3fbdb21573b6ef1bc8c2af646a7e61e (diff) | |
download | samba-0a3c84b554f3862b3e558f62e67ceb8311b248ce.tar.gz samba-0a3c84b554f3862b3e558f62e67ceb8311b248ce.tar.bz2 samba-0a3c84b554f3862b3e558f62e67ceb8311b248ce.zip |
s3-smb Use FILE_ATTRIBUTE_SYSTEM intead of aSYSTEM
This means we use just one constant for this file attribute.
Andrew Bartlett
Diffstat (limited to 'source3/torture/masktest.c')
-rw-r--r-- | source3/torture/masktest.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/torture/masktest.c b/source3/torture/masktest.c index a80fec90f9..a523560fd9 100644 --- a/source3/torture/masktest.c +++ b/source3/torture/masktest.c @@ -371,7 +371,7 @@ static void testpair(struct cli_state *cli, const char *mask, const char *file) if (die_on_error) exit(1); } - cli_unlink(cli, file, aSYSTEM | FILE_ATTRIBUTE_HIDDEN); + cli_unlink(cli, file, FILE_ATTRIBUTE_SYSTEM | FILE_ATTRIBUTE_HIDDEN); if (count % 100 == 0) DEBUG(0,("%d\n", count)); SAFE_FREE(long_name); @@ -388,7 +388,7 @@ static void test_mask(int argc, char *argv[], cli_mkdir(cli, "\\masktest"); - cli_unlink(cli, "\\masktest\\*", aSYSTEM | FILE_ATTRIBUTE_HIDDEN); + cli_unlink(cli, "\\masktest\\*", FILE_ATTRIBUTE_SYSTEM | FILE_ATTRIBUTE_HIDDEN); if (argc >= 2) { while (argc >= 2) { |