diff options
author | Torstein Husebø <torstein@huseboe.net> | 2020-12-17 16:25:08 +0100 |
---|---|---|
committer | Benjamin Berg <bberg@redhat.com> | 2021-01-04 11:04:13 +0100 |
commit | ab8dcfaa61f70b6867bc269a9b505dcae1f7e969 (patch) | |
tree | ccd68dd69013b18c25fefbc11f9c4ef1689153ea | |
parent | 25a97c82767d24554f7bb33f73a4b6aa912780a0 (diff) |
treewide: fix typos
-rw-r--r-- | src/device.c | 2 | ||||
-rw-r--r-- | src/fprintd.h | 2 | ||||
-rw-r--r-- | tests/fprintd.py | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/device.c b/src/device.c index 28b3635..0f6d19f 100644 --- a/src/device.c +++ b/src/device.c @@ -749,7 +749,7 @@ _fprint_device_check_for_username (FprintDevice *rdev, if (!ret) { g_set_error (error, FPRINT_ERROR, FPRINT_ERROR_INTERNAL, - "Could not get conection unix user ID: %s", + "Could not get connection unix user ID: %s", local_error->message); return NULL; } diff --git a/src/fprintd.h b/src/fprintd.h index 63a742e..3f99be5 100644 --- a/src/fprintd.h +++ b/src/fprintd.h @@ -55,7 +55,7 @@ typedef enum { /* Enum of possible permissions, orders and nick matter here: - The order controls the priority of a required permission when various are - accepted: the lowest the value, the more priorty it has. + accepted: the lowest the value, the more priority it has. - Nick must match the relative polkit rule. */ typedef enum { diff --git a/tests/fprintd.py b/tests/fprintd.py index 749f2f4..93048ae 100644 --- a/tests/fprintd.py +++ b/tests/fprintd.py @@ -467,7 +467,7 @@ class FPrintdVirtualDeviceBaseTest(FPrintdTest): def get_secondary_bus_and_device(self, claim=None): addr = os.environ['DBUS_SYSTEM_BUS_ADDRESS'] - # Get a separat bus connection + # Get a separate bus connection bus = Gio.DBusConnection.new_for_address_sync(addr, Gio.DBusConnectionFlags.MESSAGE_BUS_CONNECTION | Gio.DBusConnectionFlags.AUTHENTICATION_CLIENT, None, None) @@ -937,7 +937,7 @@ class FPrintdVirtualDeviceClaimedTest(FPrintdVirtualDeviceBaseTest): self.assertFalse(os.path.exists(os.path.join(self.state_dir, 'testuser/virtual_image/0/7'))) def test_enroll_invalid_storage_dir(self): - # Directory wil not exist yet + # Directory will not exist yet os.makedirs(self.state_dir, mode=0o500) self.addCleanup(os.chmod, self.state_dir, mode=0o700) |