diff options
-rw-r--r-- | pci-arbiter/pci-ops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pci-arbiter/pci-ops.c b/pci-arbiter/pci-ops.c index 3346e55a..72720832 100644 --- a/pci-arbiter/pci-ops.c +++ b/pci-arbiter/pci-ops.c @@ -39,12 +39,12 @@ check_permissions (struct protid *master, int flags) node = master->po->np; e = node->nn->ln; - /* Check wheter the user has permissions to access this node */ + /* Check whether the user has permissions to access this node */ err = entry_check_perms (master->user, e, flags); if (err) return err; - /* Check wheter the request has been sent to the proper node */ + /* Check whether the request has been sent to the proper node */ if (e->domain != 0 /* Only domain 0 can be accessed by I/O ports */ || e->bus < 0 || e->dev < 0 || e->func < 0) err = EINVAL; |