diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2021-07-24 17:06:30 +0000 |
---|---|---|
committer | Laurent Bercot <ska@appnovation.com> | 2021-07-24 17:06:30 +0000 |
commit | c15bccec3fd551583ff838673ba284ee6c7e788a (patch) | |
tree | 4937bcf2fdd6232a6404b8ca47c3d325781099f6 /src/libstddjb | |
parent | 4414a4b9d8495320e54eaae05572a30b25b4401c (diff) | |
download | skalibs-c15bccec3fd551583ff838673ba284ee6c7e788a.tar.xz |
Don't use dirfd as an identifier
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/libstddjb')
-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)) { |