switchroot: Fix typo in comment ENINVAL => EINVAL

Closes: #1676
Approved by: cgwalters
This commit is contained in:
Alex Kiernan authored and Atomic Bot committed 2018-07-08 12:41:59 +00:00
1 parent eeacbc6b29
commit d6327f9dd9
1 file changed
+1 -1
+1 -1
View 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)