git: camcontrol - non-critical fgetc() cleanup

Matthew Dillon dillon at crater.dragonflybsd.org
Thu Mar 30 14:06:19 PDT 2017


commit b071372427f9b83d9244df9e6c19a775ae29f969
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Thu Mar 30 13:53:05 2017 -0700

    camcontrol - non-critical fgetc() cleanup
    
    * fgetc() returns int, check EOF against int return, not char.
    
    Reported-by: dcb

Summary of changes:
 sbin/camcontrol/modeedit.c | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/b071372427f9b83d9244df9e6c19a775ae29f969


-- 
DragonFly BSD source repository



More information about the Commits mailing list