aboutsummaryrefslogtreecommitdiffstats
path: root/man2
diff options
context:
space:
mode:
Diffstat (limited to 'man2')
-rw-r--r--man2/execve.22
-rw-r--r--man2/getdents.26
-rw-r--r--man2/quotactl.28
-rw-r--r--man2/select_tut.24
4 files changed, 10 insertions, 10 deletions
diff --git a/man2/execve.2 b/man2/execve.2
index 6806deda37..66781aff7d 100644
--- a/man2/execve.2
+++ b/man2/execve.2
@@ -567,7 +567,7 @@ main(int argc, char *argv[])
char *newenviron[] = { NULL };
if (argc != 2) {
- fprintf(stderr, "Usage: %s <file-to-exec>\\n", argv[0]);
+ fprintf(stderr, "Usage: %s <file\-to\-exec>\\n", argv[0]);
exit(EXIT_FAILURE);
}
diff --git a/man2/getdents.2 b/man2/getdents.2
index 0d61bc6b2c..ae4fa78bd0 100644
--- a/man2/getdents.2
+++ b/man2/getdents.2
@@ -254,12 +254,12 @@ main(int argc, char *argv[])
if (nread == 0)
break;
- printf("\--------------- nread=%d ---------------\\n", nread);
+ printf("\-\-\-\-\-\-\-\-\-\-\-\-\-\-\- nread=%d \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\\n", nread);
printf("i\-node# file type d_reclen d_off d_name\\n");
for (bpos = 0; bpos < nread;) {
d = (struct linux_dirent *) (buf + bpos);
printf("%8ld ", d\->d_ino);
- d_type = *(buf + bpos + d\->d_reclen - 1);
+ d_type = *(buf + bpos + d\->d_reclen \- 1);
printf("%\-10s ", (d_type == DT_REG) ? "regular" :
(d_type == DT_DIR) ? "directory" :
(d_type == DT_FIFO) ? "FIFO" :
@@ -268,7 +268,7 @@ main(int argc, char *argv[])
(d_type == DT_BLK) ? "block dev" :
(d_type == DT_CHR) ? "char dev" : "???");
printf("%4d %10lld %s\\n", d\->d_reclen,
- (long long) d\->d_off, d->d_name);
+ (long long) d\->d_off, d\->d_name);
bpos += d\->d_reclen;
}
}
diff --git a/man2/quotactl.2 b/man2/quotactl.2
index 1023ba3978..c5fae5d57d 100644
--- a/man2/quotactl.2
+++ b/man2/quotactl.2
@@ -140,8 +140,8 @@ as follows:
.in +4n
.nf
-/* uint64_t is an unsigned 64-bit integer;
- uint32_t is an unsigned 32-bit integer */
+/* uint64_t is an unsigned 64\-bit integer;
+ uint32_t is an unsigned 32-\bit integer */
struct dqblk { /* Definition since Linux 2.4.22 */
uint64_t dqb_bhardlimit; /* absolute limit on disk
@@ -227,8 +227,8 @@ as follows:
.in +4n
.nf
-/* uint64_t is an unsigned 64-bit integer;
- uint32_t is an unsigned 32-bit integer */
+/* uint64_t is an unsigned 64\-bit integer;
+ uint32_t is an unsigned 32\-bit integer */
struct dqinfo { /* Defined since kernel 2.4.22 */
uint64_t dqi_bgrace; /* Time before block soft limit
diff --git a/man2/select_tut.2 b/man2/select_tut.2
index d9fb610c29..3ea0232fc0 100644
--- a/man2/select_tut.2
+++ b/man2/select_tut.2
@@ -638,8 +638,8 @@ main(int argc, char *argv[])
int buf2_avail, buf2_written;
if (argc != 4) {
- fprintf(stderr, "Usage\\n\\tfwd <listen-port> "
- "<forward-to-port> <forward-to-ip-address>\\n");
+ fprintf(stderr, "Usage\\n\\tfwd <listen\-port> "
+ "<forward\-to\-port> <forward\-to\-ip\-address>\\n");
exit(EXIT_FAILURE);
}