switchroot: Fix typo in comment ENINVAL => EINVAL
authorAlex Kiernan <alex.kiernan@gmail.com>
Sat, 7 Jul 2018 13:18:40 +0000 (13:18 +0000)
committerAtomic Bot <atomic-devel@projectatomic.io>
Sun, 8 Jul 2018 12:41:59 +0000 (12:41 +0000)
Closes: #1676
Approved by: cgwalters

src/switchroot/ostree-remount.c

index c3e39c0bef79106e892655aad33a88120a8f4c8b..cd09fc156ca4be821cd391e6cc178abe8dab84de 100644 (file)
@@ -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)