summaryrefslogtreecommitdiff
path: root/src/switchroot
diff options
context:
space:
mode:
authorAlex Kiernan <alex.kiernan@gmail.com>2018-07-07 13:18:40 +0000
committerAtomic Bot <atomic-devel@projectatomic.io>2018-07-08 12:41:59 +0000
commitd6327f9dd9c4c787a5df46b339c1b0e045ec8134 (patch)
tree25a44faa21e9d653da1acb7c7aa2280a63181965 /src/switchroot
parenteeacbc6b29fe1ab38471ed4362c0fdefd7298d19 (diff)
downloadostree-d6327f9dd9c4c787a5df46b339c1b0e045ec8134.tar.gz
switchroot: Fix typo in comment ENINVAL => EINVAL
Closes: #1676 Approved by: cgwalters
Diffstat (limited to 'src/switchroot')
-rw-r--r--src/switchroot/ostree-remount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/switchroot/ostree-remount.c b/src/switchroot/ostree-remount.c
index c3e39c0b..cd09fc15 100644
--- a/src/switchroot/ostree-remount.c
+++ b/src/switchroot/ostree-remount.c
@@ -94,7 +94,7 @@ main(int argc, char *argv[])
/* It's a mounted, read-only fs; remount it */
if (mount (target, target, NULL, MS_REMOUNT | MS_SILENT, NULL) < 0)
{
- /* Also ignore ENINVAL - if the target isn't a mountpoint
+ /* Also ignore EINVAL - if the target isn't a mountpoint
* already, then assume things are OK.
*/
if (errno != EINVAL)