[Bug 208852] lsearch(3) man page: missing terminating '"' on printf

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Apr 17 07:38:16 UTC 2016


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 at FreeBSD.org
          Reporter: coder at 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.


More information about the freebsd-doc mailing list