Package: libaio-dev
Version: 0.3.109-2
Severity: minor
Tags: patch

In io.3 verbatim \n should be escaped in order to make it through roff.


diff --git a/man/io.3 b/man/io.3
index d82e0d1..f277673 100644
--- a/man/io.3
+++ b/man/io.3
@@ -172,11 +172,11 @@ static const char *srcname = NULL;
 static void io_error(const char *func, int rc)
 {
     if (rc == -ENOSYS)
-       fprintf(stderr, "AIO not in this kernel\n");
+       fprintf(stderr, "AIO not in this kernel\\n");
     else if (rc < 0 && -rc < sys_nerr)
-       fprintf(stderr, "%s: %s\n", func, sys_errlist[-rc]);
+       fprintf(stderr, "%s: %s\\n", func, sys_errlist[-rc]);
     else
-       fprintf(stderr, "%s: error %d\n", func, rc);
+       fprintf(stderr, "%s: error %d\\n", func, rc);
 
     if (dstfd > 0)
        close(dstfd);
@@ -195,7 +195,7 @@ static void wr_done(io_context_t ctx, struct iocb *iocb, 
long res, long res2)
        io_error("aio write", res2);
     }
     if (res != iocb->u.c.nbytes) {
-       fprintf(stderr, "write missed bytes expect %d got %d\n", 
iocb->u.c.nbytes, res2);
+       fprintf(stderr, "write missed bytes expect %d got %d\\n", 
iocb->u.c.nbytes, res2);
        exit(1);
     }
     --tocopy;
@@ -221,7 +221,7 @@ static void rd_done(io_context_t ctx, struct iocb *iocb, 
long res, long res2)
     if (res2 != 0)
        io_error("aio read", res2);
     if (res != iosize) {
-       fprintf(stderr, "read missing bytes expect %d got %d\n", 
iocb->u.c.nbytes, res);
+       fprintf(stderr, "read missing bytes expect %d got %d\\n", 
iocb->u.c.nbytes, res);
        exit(1);
     }
 
@@ -281,7 +281,7 @@ int main(int argc, char *const *argv)
                char *buf = (char *) malloc(iosize);
 
                if (NULL == buf || NULL == io) {
-                   fprintf(stderr, "out of memory\n");
+                   fprintf(stderr, "out of memory\\n");
                    exit(1);
                }
 

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (550, 'testing'), (500, 'stable')
Architecture: i386 (x86_64)

Kernel: Linux 3.2.0-rc4-64+ (SMP w/8 CPU cores; PREEMPT)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages libaio-dev depends on:
ii  libaio1  0.3.109-2

libaio-dev recommends no packages.

libaio-dev suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to