diff --git a/libfreefare/freefare.c b/libfreefare/freefare.c index e29a219..3ca16c4 100644 --- a/libfreefare/freefare.c +++ b/libfreefare/freefare.c @@ -215,7 +215,7 @@ freefare_free_tag (MifareTag tag) const char * freefare_strerror (MifareTag tag) { - const char *p = "Unkown error"; + const char *p = "Unknown error"; if (nfc_device_get_last_error (tag->device) < 0) { p = nfc_strerror (tag->device); } else { diff --git a/libfreefare/freefare_error.3 b/libfreefare/freefare_error.3 index 3232847..816152b 100644 --- a/libfreefare/freefare_error.3 +++ b/libfreefare/freefare_error.3 @@ -103,7 +103,7 @@ function returns the error code returned by the last command run on .Fn freefare_strerror returns the error message, .Fn freefare_strerror_r -returns 0 on success, -1 on failure; +returns 0 on success, \-1 on failure; .Fn mifare_desfire_last_pcd_error and .Fn mifare_desfire_last_picc_error diff --git a/libfreefare/mifare_application.3 b/libfreefare/mifare_application.3 index f4bdb62..e9ba71b 100644 --- a/libfreefare/mifare_application.3 +++ b/libfreefare/mifare_application.3 @@ -101,7 +101,7 @@ on the .Vt tag and copy them into .Vt buf. -The function returns the amount of data it copied, or -1 on error. +The function returns the amount of data it copied, or \-1 on error. .Pp The .Fn mifare_application_write @@ -115,7 +115,7 @@ on the .Vt mad of the .Vt tag -and returns the quantity of data written, or -1 on error. +and returns the quantity of data written, or \-1 on error. .\" ___ _ _ _ _ _ .\" |_ _|_ __ ___ _ __ | | ___ _ __ ___ ___ _ __ | |_ __ _| |_(_) ___ _ __ _ __ ___ | |_ ___ ___ .\" | || '_ ` _ \| '_ \| |/ _ \ '_ ` _ \ / _ \ '_ \| __/ _` | __| |/ _ \| '_ \ | '_ \ / _ \| __/ _ \/ __| diff --git a/libfreefare/mifare_classic.3 b/libfreefare/mifare_classic.3 index 4905c62..4a8b769 100644 --- a/libfreefare/mifare_classic.3 +++ b/libfreefare/mifare_classic.3 @@ -145,7 +145,7 @@ Value-blocks can be easily accessed using the .Fn mifare_classic_read_value and .Fn mifare_classic_init_value -functions. Aditional functions are available for such +functions. Additional functions are available for such .Vt blocks : .Fn mifare_classic_increment and diff --git a/libfreefare/mifare_desfire.3 b/libfreefare/mifare_desfire.3 index 33ff039..5850685 100644 --- a/libfreefare/mifare_desfire.3 +++ b/libfreefare/mifare_desfire.3 @@ -274,7 +274,7 @@ of the free memory on the PICC (in bytes). .Pp The .Fn mifare_desfire_set_configuration -function can be used to desactivate the format function when setting +function can be used to deactivate the format function when setting .Vt disable_format to a value different from 0, or swicth the card to use random UDI setting .Vt enable_random_uid @@ -404,7 +404,7 @@ The .Fn mifare_desfire_create_application_iso acts as the .Fn mifare_desfire_create_application -function but allows to specify if the created files within the application shall have an ISO file identifier setting +function but allows one to specify if the created files within the application shall have an ISO file identifier setting .Vt want_iso_file_identifiers to a non-NULL value, a DF can be provided using .Vt iso_file_id , diff --git a/libfreefare/mifare_desfire_aid.3 b/libfreefare/mifare_desfire_aid.3 index ad37041..b649b32 100644 --- a/libfreefare/mifare_desfire_aid.3 +++ b/libfreefare/mifare_desfire_aid.3 @@ -60,9 +60,7 @@ Mifare card manipulation library (libfreefare, \-lfreefare) .Sh DESCRIPTION The .Fn mifare_desfire_aid_* -functions allows management of Mifare DESFire AIDs. -.Fn -The +functions allows management of Mifare DESFire AIDs. The .Fn mifare_desfire_aid_new function returns a new Mifare DESFire AID of value .Vt aid . @@ -71,8 +69,8 @@ The .Fn mifare_desfire_aid_new_with_mad_aid functions returns a new Mifare DESFire AID using a Mifare Classic AID .Vt mad_aid -and -.Vt +and +.Vt n as the last nibble of the new AID. .Pp Both