[libglnx] dirfd: Fix two typos
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libglnx] dirfd: Fix two typos
- Date: Tue, 17 Feb 2015 21:53:22 +0000 (UTC)
commit 70b070b5eab16907fd6f53de100c31733a6fa7da
Author: Colin Walters <walters verbum org>
Date: Tue Feb 17 16:02:53 2015 -0500
dirfd: Fix two typos
glnx-dirfd.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/glnx-dirfd.c b/glnx-dirfd.c
index 0435ca0..ee25898 100644
--- a/glnx-dirfd.c
+++ b/glnx-dirfd.c
@@ -103,7 +103,7 @@ glnx_dirfd_iterator_init_at (int dfd,
if (!glnx_opendirat (dfd, path, follow, &fd, error))
goto out;
- if (!glnx_dirfd_iterator_init_take_fd (fd, dfd_iter, error))
+ if (!glnx_dirfd_iterator_init_take_fd (fd, out_dfd_iter, error))
goto out;
fd = -1; /* Transfer ownership */
@@ -196,7 +196,7 @@ glnx_dirfd_iterator_next_dent (GLnxDirFdIterator *dfd_iter,
void
glnx_dirfd_iterator_clear (GLnxDirFdIterator *dfd_iter)
{
- GLnxRealDirfdIterator *real_dfd_iter = (GLnxRealDirIterator*) dfd_iter;
+ GLnxRealDirfdIterator *real_dfd_iter = (GLnxRealDirfdIterator*) dfd_iter;
/* fd is owned by dfd_iter */
(void) closedir (real_dfd_iter->d);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]