]> git.ipfire.org Git - thirdparty/man-pages.git/blobdiff - man3/printf.3
hyphen/dash fixes
[thirdparty/man-pages.git] / man3 / printf.3
index 5a13dd0aee8f5c68dda2b75b4d4fe6167e8a9e5d..59cdc7d887ada4ea895132d58d7b5ecd480fff3a 100644 (file)
@@ -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 */