Use single capital font-change macros for a single argument. Use '\e' for printing the escape character, not '\\'. The formatted output is unchanged. Signed-off-by: Bjarni Ingi Gislason <bjarniig@xxxxxxxxx> --- man2/add_key.2 | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/man2/add_key.2 b/man2/add_key.2 index e52c585f4..dcb2026d7 100644 --- a/man2/add_key.2 +++ b/man2/add_key.2 @@ -43,7 +43,7 @@ it is invalid in some other way. If the destination .I keyring already contains a key that matches the specified -.IR type +.I type and .IR description , then, if the key type supports it, @@ -107,7 +107,7 @@ should be NULL and .I plen should be zero. .TP -.IR """user""" +.I """user""" This is a general purpose key type whose payload may be read and updated by user-space applications. The key is kept entirely within kernel memory. @@ -175,9 +175,9 @@ exceeded the limit (32 bytes and 4096 bytes respectively). The payload data was invalid. .TP .B EINVAL -.IR type +.I type was -.IR """logon""" +.I """logon""" and the .I description was not qualified with a prefix string of the form @@ -217,7 +217,7 @@ This system call is a nonstandard Linux extension. .SH NOTES No wrapper for this system call is provided in glibc. A wrapper is provided in the -.IR libkeyutils +.I libkeyutils package. When employing the wrapper in that library, link with .IR \-lkeyutils . @@ -250,7 +250,7 @@ main(int argc, char *argv[]) key_serial_t key; if (argc != 4) { - fprintf(stderr, "Usage: %s type description payload\\n", + fprintf(stderr, "Usage: %s type description payload\en", argv[0]); exit(EXIT_FAILURE); } @@ -262,7 +262,7 @@ main(int argc, char *argv[]) exit(EXIT_FAILURE); } - printf("Key ID is %lx\\n", (long) key); + printf("Key ID is %lx\en", (long) key); exit(EXIT_SUCCESS); } @@ -284,12 +284,12 @@ main(int argc, char *argv[]) .BR user\-session\-keyring (7) .PP The kernel source files -.IR Documentation/security/keys/core.rst +.I Documentation/security/keys/core.rst and -.IR Documentation/keys/request\-key.rst +.I Documentation/keys/request\-key.rst (or, before Linux 4.13, in the files .\" commit b68101a1e8f0263dbc7b8375d2a7c57c6216fb76 -.IR Documentation/security/keys.txt +.I Documentation/security/keys.txt and .\" commit 3db38ed76890565772fcca3279cc8d454ea6176b .IR Documentation/security/keys\-request\-key.txt ). -- 2.19.2 -- Bjarni I. Gislason