summaryrefslogtreecommitdiffstats
path: root/bftw.h
diff options
context:
space:
mode:
Diffstat (limited to 'bftw.h')
-rw-r--r--bftw.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/bftw.h b/bftw.h
index 0946054..a7c14d9 100644
--- a/bftw.h
+++ b/bftw.h
@@ -51,7 +51,7 @@ typedef int bftw_fn(const char *fpath, const struct BFTW *ftwbuf, void *ptr);
* and invokes a callback for each path it encounters. However, bftw() operates
* breadth-first.
*
- * @param dirpath
+ * @param path
* The starting path.
* @param fn
* The callback to invoke.
@@ -64,7 +64,7 @@ typedef int bftw_fn(const char *fpath, const struct BFTW *ftwbuf, void *ptr);
* @return
* 0 on success, or -1 on failure.
*/
-int bftw(const char *dirpath, bftw_fn *fn, int nopenfd, int flags, void *ptr);
+int bftw(const char *path, bftw_fn *fn, int nopenfd, int flags, void *ptr);
/** typeflag: Block device. */
#define BFTW_BLK 0