NetBSD-Bugs archive

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

kern/50535: src/sys/fs/nfs/nlm/nlm_prot_impl.c:1077: possible bad function call ?



>Number:         50535
>Category:       kern
>Synopsis:       src/sys/fs/nfs/nlm/nlm_prot_impl.c:1077: possible bad function call ?
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Dec 11 10:55:01 +0000 2015
>Originator:     David Binderman
>Release:        cvs dated 20151210
>Organization:
>Environment:
>Description:
[src/sys/fs/nfs/nlm/nlm_prot_impl.c:1077]: (warning) Return value of function strcmp() is not used.

Source code is

        strcmp(tmp, "<unknown>");

maybe

        strcpy(tmp, "<unknown>");

>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index