diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/libstddjb/cdb_init_at.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstddjb/cdb_init_at.c b/src/libstddjb/cdb_init_at.c index faea790..0775ea5 100644 --- a/src/libstddjb/cdb_init_at.c +++ b/src/libstddjb/cdb_init_at.c @@ -4,9 +4,9 @@ #include <skalibs/cdb.h> #include <skalibs/unix-transactional.h> -int cdb_init_at (cdb *c, int dirfd, char const *file) +int cdb_init_at (cdb *c, int dfd, char const *file) { - int fd = open_readat(dirfd, file) ; + int fd = open_readat(dfd, file) ; if (fd < 0) return 0 ; if (!cdb_init_fromfd(c, fd)) { |