]> git.ozlabs.org Git - ccan/blobdiff - ccan/ntdb/test/api-20-alloc-attr.c
Fix missing va_end()s
[ccan] / ccan / ntdb / test / api-20-alloc-attr.c
index 3df5003af78ac242b220ed80a431f1191a9537dd..868764fa6623c8445543f3bde76181d7343df254 100644 (file)
@@ -1,11 +1,12 @@
 #include "config.h"
-#include "ntdb.h"
-#include "private.h"
+#include "../ntdb.h"
+#include "../private.h"
 #include "tap-interface.h"
 #include <ccan/hash/hash.h>
 #include <assert.h>
 
 #include "logging.h"
+#include "helpapi-external-agent.h"
 
 static const struct ntdb_context *curr_ntdb;
 static const struct ntdb_file *curr_file;
@@ -80,7 +81,7 @@ int main(int argc, char *argv[])
        for (i = 0; i < sizeof(flags) / sizeof(flags[0]); i++) {
                curr_ntdb = NULL;
                curr_file = NULL;
-               ntdb = ntdb_open("run-12-store.ntdb", flags[i]|MAYBE_NOSYNC,
+               ntdb = ntdb_open("run-20-alloc-attr.ntdb", flags[i]|MAYBE_NOSYNC,
                               O_RDWR|O_CREAT|O_TRUNC, 0600, &alloc_attr);
                ok1(ntdb);
                if (!ntdb)