switchroot: Fix typo in comment ENINVAL => EINVAL
Closes: #1676 Approved by: cgwalters
This commit is contained in:
parent
eeacbc6b29
commit
d6327f9dd9
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue