From c15bccec3fd551583ff838673ba284ee6c7e788a Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Sat, 24 Jul 2021 17:06:30 +0000 Subject: Don't use dirfd as an identifier Signed-off-by: Laurent Bercot --- src/libstddjb/cdb_init_at.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libstddjb') 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 #include -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)) { -- cgit v1.2.3