]> xenbits.xensource.com Git - libvirt.git/commitdiff
util: Fix virDirRead() description
authorMartin Kletzander <mkletzan@redhat.com>
Wed, 29 Mar 2017 11:41:20 +0000 (13:41 +0200)
committerMartin Kletzander <mkletzan@redhat.com>
Fri, 7 Apr 2017 06:49:34 +0000 (08:49 +0200)
Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
src/util/virfile.c

index a91c2c3495015eedfedaf823991b0142b119e860..c0f448d3437d80b70f3bb2dfb38785ccd17449e6 100644 (file)
@@ -2861,11 +2861,11 @@ virDirOpenQuiet(DIR **dirp, const char *name)
 /**
  * virDirRead:
  * @dirp: directory to read
- * @end: output one entry
+ * @ent: output one entry
  * @name: if non-NULL, the name related to @dirp for use in error reporting
  *
  * Wrapper around readdir. Typical usage:
- *   struct dirent ent;
+ *   struct dirent *ent;
  *   int rc;
  *   DIR *dir;
  *   if (virDirOpen(&dir, name) < 0)