From f36903108a04f5f94b67fe778cc803989532c295 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Wed, 6 Aug 2008 20:41:47 +0000 Subject: [PATCH] ffix --- man2/semctl.2 | 4 ++-- man2/shmctl.2 | 8 +++++--- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/man2/semctl.2 b/man2/semctl.2 index ec5f0ce82..6bccaa3d9 100644 --- a/man2/semctl.2 +++ b/man2/semctl.2 @@ -114,7 +114,7 @@ struct ipc_perm { Valid values for .I cmd are: -.TP 12 +.TP 10 .B IPC_STAT Copy information from the kernel data structure associated with .I semid @@ -348,7 +348,7 @@ indicating the error. Otherwise the system call returns a non-negative value depending on .I cmd as follows: -.TP +.TP 12 .B GETNCNT the value of .BR semncnt . diff --git a/man2/shmctl.2 b/man2/shmctl.2 index 3cc870d26..d471a0f98 100644 --- a/man2/shmctl.2 +++ b/man2/shmctl.2 @@ -205,7 +205,7 @@ feature test macro is defined: .in +4n struct shm_info { - int used_ids; /* # of currently existing + int used_ids; /* # of currently existing segments */ unsigned long shm_tot; /* Total number of shared memory pages */ @@ -213,8 +213,10 @@ struct shm_info { memory pages */ unsigned long shm_swp; /* # of swapped shared memory pages */ - unsigned long swap_attempts; /* Unused since Linux 2.4 */ - unsigned long swap_successes; /* Unused since Linux 2.4 */ + unsigned long swap_attempts; + /* Unused since Linux 2.4 */ + unsigned long swap_successes; + /* Unused since Linux 2.4 */ }; .in .fi