Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Apr 2016 07:38:16 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-doc@FreeBSD.org
Subject:   [Bug 208852] lsearch(3) man page: missing terminating '"' on printf
Message-ID:  <bug-208852-9@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208852

            Bug ID: 208852
           Summary: lsearch(3) man page: missing terminating '"' on printf
           Product: Documentation
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Documentation
          Assignee: freebsd-doc@FreeBSD.org
          Reporter: coder@tuxfamily.org

Hello,

I've found an error into the example of lsearch man page.

All printf' functions are unterminated, using 0 instead of \n"

printf("Bad input0);
printf("Element found: %d0, *(int *)element);
printf("Element not found0);

Also, int argc, char**argv into main is useless.

Regards.

-- 
You are receiving this mail because:
You are the assignee for the bug.

help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-208852-9>