aboutsummaryrefslogtreecommitdiff
path: root/tests/libfstree/add_by_path.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libfstree/add_by_path.c')
-rw-r--r--tests/libfstree/add_by_path.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/libfstree/add_by_path.c b/tests/libfstree/add_by_path.c
index 94c0dc9..b21c696 100644
--- a/tests/libfstree/add_by_path.c
+++ b/tests/libfstree/add_by_path.c
@@ -9,12 +9,13 @@
#include "fstree.h"
#include "../test.h"
-int main(void)
+int main(int argc, char **argv)
{
tree_node_t *a, *b;
struct stat sb;
fstree_t fs;
char *opts;
+ (void)argc; (void)argv;
opts = strdup("mode=0755,uid=21,gid=42");
TEST_ASSERT(fstree_init(&fs, opts) == 0);