Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/regress/sys/fs/lseek Fix missing comma in errx() in normally...



details:   https://anonhg.NetBSD.org/src/rev/ab278dd2277f
branches:  trunk
changeset: 768425:ab278dd2277f
user:      reinoud <reinoud%NetBSD.org@localhost>
date:      Tue Aug 16 13:15:04 2011 +0000

description:
Fix missing comma in errx() in normally not compiled code.

diffstat:

 regress/sys/fs/lseek/lseek.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 11d8b8436781 -r ab278dd2277f regress/sys/fs/lseek/lseek.c
--- a/regress/sys/fs/lseek/lseek.c      Tue Aug 16 12:59:01 2011 +0000
+++ b/regress/sys/fs/lseek/lseek.c      Tue Aug 16 13:15:04 2011 +0000
@@ -79,7 +79,7 @@
                "returns the current position\n");
        cur = lseek(fd, st.st_size-50, SEEK_DATA);
        if (cur != st.st_size - 50) {
-               errx(EXIT_FAILURE"Seek data didn't give passed seek position "
+               errx(EXIT_FAILURE, "Seek data didn't give passed seek position "
                    "back %" PRIi64 " should be %" PRIi64, cur, st.st_size-50);
                return EXIT_FAILURE;
        }



Home | Main Index | Thread Index | Old Index