From d6327f9dd9c4c787a5df46b339c1b0e045ec8134 Mon Sep 17 00:00:00 2001 From: Alex Kiernan Date: Sat, 7 Jul 2018 13:18:40 +0000 Subject: [PATCH] switchroot: Fix typo in comment ENINVAL => EINVAL Closes: #1676 Approved by: cgwalters --- src/switchroot/ostree-remount.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)