X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=test%2Fafpd%2Fsubtests.c;h=6e76a18ce8dae3c3b71694ff8621924ac31b75a5;hb=ef478b9a086275bdac089a275777a03d0f019395;hp=7049a7c7d17d06026fa406958396f1a24308e56a;hpb=8ea9eaad323ec8ea180ffc277cd409d713a5895f;p=netatalk.git diff --git a/test/afpd/subtests.c b/test/afpd/subtests.c index 7049a7c7..6e76a18c 100644 --- a/test/afpd/subtests.c +++ b/test/afpd/subtests.c @@ -1,5 +1,4 @@ /* - $Id: subtests.c,v 1.1.2.1 2010-02-01 10:56:08 franklahm Exp $ Copyright (c) 2010 Frank Lahm This program is free software; you can redistribute it and/or modify @@ -51,7 +50,7 @@ int test001_add_x_dirs(const struct vol *vol, cnid_t start, cnid_t end) dir = dir_new(dirname, dirname, vol, DIRDID_ROOT, htonl(start), bfromcstr(vol->v_path), 0); if (dir == NULL) return -1; - if (dircache_add(dir) != 0) + if (dircache_add(vol, dir) != 0) return -1; }