Skip to contentSkip to conversation

posix_fadvise.2, tee.2: adjust code indentation

PATCH In review Seonghun Lim 2 participants 2 messages Aug 31, 2011 – Sep 8, 2011 1 message not in the archive Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 posix_fadvise.2, tee.2: adjust code indentation

man-pages version: latest git repository

man2/posix_fadvise.2 +0 -0
@@ -165,7 +165,7 @@ system call that orders the arguments suitably:

.in +4n
.nf
.BI "long arm_fadvise64_64(int " fd ", int " advice , -.BI " loff_t " offset ", loff_t " len ); +.BI " loff_t " offset ", loff_t " len );
.fi
.in
.PP

man2/tee.2 +0 -0
@@ -149,8 +149,8 @@ main(int argc, char *argv[])

int len, slen;

if (argc != 2) {
- fprintf(stderr, "Usage: %s <file>\\n", argv[0]);
- exit(EXIT_FAILURE);
+ fprintf(stderr, "Usage: %s <file>\\n", argv[0]);
+ exit(EXIT_FAILURE);
}

fd = open(argv[1], O_WRONLY | O_CREAT | O_TRUNC, 0644);

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw

2011/8/31 Seonghun Lim <[email protected]>:

Quoted 19 lines

man-pages version: latest git repository

man2/posix_fadvise.2 +0 -0
@@ -165,7 +165,7 @@ system call that orders the arguments suitably:

.in +4n
.nf
.BI "long arm_fadvise64_64(int " fd ", int " advice , -.BI " loff_t " offset ", loff_t " len ); +.BI " loff_t " offset ", loff_t " len );
.fi
.in
.PP

man2/tee.2 main(int argc, char *argv[]) · line 156

Quoted 10 lines
man2/tee.2 +2 -2
@@ -149,8 +149,8 @@ main(int argc, char *argv[])
 int len, slen;
 
 if (argc != 2) {
- fprintf(stderr, "Usage: %s <file>\\n", argv[0]);
- exit(EXIT_FAILURE);
+ fprintf(stderr, "Usage: %s <file>\\n", argv[0]);
+ exit(EXIT_FAILURE);
 }
 
 fd = open(argv[1], O_WRONLY | O_CREAT | O_TRUNC, 0644);

Thanks. Applied for man-pages-3.33.

Cheers,

Michael

Signature · 7 lines
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Author of "The Linux Programming Interface"; http://man7.org/tlpi/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html