selinux-at: fix typo in a comment
authorJim Meyering <meyering@redhat.com>
Fri, 7 Aug 2009 21:22:51 +0000 (23:22 +0200)
committerJim Meyering <meyering@redhat.com>
Fri, 7 Aug 2009 21:22:51 +0000 (23:22 +0200)
* lib/selinux-at.h: s/getfileconat/getfilecon/ in a comment.
Spotted by Paolo Bonzini.

ChangeLog
lib/selinux-at.h

index 1b3af024cc376c1f3a10b978af1bfeb21716b950..d3df86cde8322cebc25c39483ae25c374358db91 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2009-08-07  Jim Meyering  <meyering@redhat.com>
 
+       selinux-at: fix typo in a comment
+       * lib/selinux-at.h: s/getfileconat/getfilecon/ in a comment.
+       Spotted by Paolo Bonzini.
+
        selinux-at: remove redundant m4 code, add documentation
        * modules/selinux-at (configure.ac): Remove redundant code.
        LIB_SELINUX is already set via the dependent module, selinux-h.
index cd7bf94b056c307d060e94bcdddf039000f8ce54..9716fe9e5e9dd8873ec7330b94ad4ddb1eb300c5 100644 (file)
@@ -19,7 +19,7 @@
 
 /* These are the dir-fd-relative variants of the functions without the
    "at" suffix.  For example, getfileconat (AT_FDCWD, file, &c) is usually
-   equivalent to getfileconat (file, &c).  The emulation is accomplished
+   equivalent to getfilecon (file, &c).  The emulation is accomplished
    by first attempting getfilecon ("/proc/self/fd/DIRFD/FILE", &c).
    Failing that, simulate it via save_cwd/fchdir/getfilecon/restore_cwd.
    If either the save_cwd or the restore_cwd fails (relatively unlikely),