NetBSD-Bugs archive

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

lib/50660: src/lib/libm/noieee_src/n_fmod.c: 4 * bad call to printf ?



>Number:         50660
>Category:       lib
>Synopsis:       src/lib/libm/noieee_src/n_fmod.c: 4 * bad call to printf ?
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jan 16 17:20:00 +0000 2016
>Originator:     David Binderman
>Release:        cvs dated 20160110
>Organization:
>Environment:
>Description:

1.

[src/lib/libm/noieee_src/n_fmod.c:125]: (error) printf format string requires 3 parameters but only 2 are given.

[src/lib/libm/noieee_src/n_fmod.c:126]: (error) printf format string requires 3 parameters but only 2 are given.
[src/lib/libm/noieee_src/n_fmod.c:127]: (error) printf format string requires 3 parameters but only 2 are given.
[src/lib/libm/noieee_src/n_fmod.c:128]: (error) printf format string requires 3 parameters but only 2 are given.


        (void)printf(" x    = 0x%08.8x %08.8x (%24.16e)\n",x,x);
        (void)printf(" y    = 0x%08.8x %08.8x (%24.16e)\n",y,y);
        (void)printf(" fmod = 0x%08.8x %08.8x (%24.16e)\n",ro,ro);
        (void)printf("_fmod = 0x%08.8x %08.8x (%24.16e)\n",rn,rn);

>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index