diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-10-12 19:46:38 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-10-12 19:46:38 +0200 |
commit | 3994c42f1938e35218cd5708fcc5a22b1b9a761d (patch) | |
tree | 7a4cbbe898abee8bbebb8a355be709415547beff /lib/util/tests | |
parent | 99fba0ca69516e571d88ecaea3937f1f73287cf3 (diff) | |
download | samba-3994c42f1938e35218cd5708fcc5a22b1b9a761d.tar.gz samba-3994c42f1938e35218cd5708fcc5a22b1b9a761d.tar.bz2 samba-3994c42f1938e35218cd5708fcc5a22b1b9a761d.zip |
Fix number of arguments for file_load() functions.
Diffstat (limited to 'lib/util/tests')
-rw-r--r-- | lib/util/tests/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util/tests/file.c b/lib/util/tests/file.c index 3377e833dc..9a303bf8c1 100644 --- a/lib/util/tests/file.c +++ b/lib/util/tests/file.c @@ -42,7 +42,7 @@ static bool test_file_load_save(struct torture_context *tctx) torture_assert_file_contains_text(tctx, TEST_FILENAME, TEST_DATA, "file contents"); - data = file_load(TEST_FILENAME, &len, mem_ctx); + data = file_load(TEST_FILENAME, &len, 0, mem_ctx); torture_assert(tctx, data, "loading file"); torture_assert_int_equal(tctx, len, strlen(TEST_DATA), "Length"); |