diff options
| author | Michael Kerrisk <mtk.manpages@gmail.com> | 2012-09-26 23:56:54 +0200 |
|---|---|---|
| committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2012-09-26 23:56:54 +0200 |
| commit | 31a6818e3c72e0f9f0e67c0fbd90c1f899bee11d (patch) | |
| tree | 8bdeac1780d05e322611e551fc9f1ba0f031a7ff /man3/stdarg.3 | |
| parent | ca8a0bd25b46ff1bdc0af8683508abc44f043c86 (diff) | |
| download | man-pages-31a6818e3c72e0f9f0e67c0fbd90c1f899bee11d.tar.gz | |
time.1, atexit.3, bsearch.3, dlopen.3, envz_add.3, errno.3, fmtmsg.3, getgrent_r.3, getline.3, getmntent.3, getnameinfo.3, getpass.3, getpwent_r.3, gets.3, isalpha.3, printf.3, puts.3, recno.3, scandir.3, stdarg.3, sysconf.3, termios.3, wordexp.3, null.4, core.5, dir_colors.5, issue.5, proc.5, termcap.5, utmp.5, ascii.7, cpuset.7, glob.7, man-pages.7, man.7, mdoc.7, mdoc.samples.7, regex.7: Revert 9f8e673e623d (whose global s%\\e%\\\\% caused problems)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man3/stdarg.3')
| -rw-r--r-- | man3/stdarg.3 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/man3/stdarg.3 b/man3/stdarg.3 index 4723310409..cea9085c66 100644 --- a/man3/stdarg.3 +++ b/man3/stdarg.3 @@ -291,17 +291,17 @@ foo(char *fmt, ...) switch (*fmt++) { case \(aqs\(aq: /* string */ s = va_arg(ap, char *); - printf("string %s\\n", s); + printf("string %s\en", s); break; case \(aqd\(aq: /* int */ d = va_arg(ap, int); - printf("int %d\\n", d); + printf("int %d\en", d); break; case \(aqc\(aq: /* char */ /* need a cast here since va_arg only takes fully promoted types */ c = (char) va_arg(ap, int); - printf("char %c\\n", c); + printf("char %c\en", c); break; } va_end(ap); |
