aboutsummaryrefslogtreecommitdiffstats
path: root/man3/printf.3
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2005-07-06 12:57:38 +0000
committerMichael Kerrisk <mtk.manpages@gmail.com>2005-07-06 12:57:38 +0000
commit2bc2f4798feabd972879ff8f1633b08e337f57e1 (patch)
tree7c2c27db04f020b2ec55c5e24bf135161c5d0b84 /man3/printf.3
parent06795d3a1f10b71e1da07ac269240455d40e62b3 (diff)
downloadman-pages-2bc2f4798feabd972879ff8f1633b08e337f57e1.tar.gz
hyphen/dash fixes
Diffstat (limited to 'man3/printf.3')
-rw-r--r--man3/printf.34
1 files changed, 2 insertions, 2 deletions
diff --git a/man3/printf.3 b/man3/printf.3
index 5a13dd0aee..59cdc7d887 100644
--- a/man3/printf.3
+++ b/man3/printf.3
@@ -773,10 +773,10 @@ make_message(const char *fmt, ...) {
n = vsnprintf (p, size, fmt, ap);
va_end(ap);
/* If that worked, return the string. */
- if (n > -1 && n < size)
+ if (n > \-1 && n < size)
return p;
/* Else try again with more space. */
- if (n > -1) /* glibc 2.1 */
+ if (n > \-1) /* glibc 2.1 */
size = n+1; /* precisely what is needed */
else /* glibc 2.0 */
size *= 2; /* twice the old size */