-----Original Message-----
From: <owner-src-committ...@freebsd.org> on behalf of Mateusz Guzik 
<m...@freebsd.org>
Date: 2020-08-10, Monday at 04:46
To: <src-committ...@freebsd.org>, <svn-src-...@freebsd.org>, 
<svn-src-head@freebsd.org>
Subject: svn commit: r364076 - head/sys/fs/devfs

    Author: mjg
    Date: Mon Aug 10 11:46:39 2020
    New Revision: 364076
    URL: https://svnweb.freebsd.org/changeset/base/364076

    Log:
      devfs: bool -> int

      Fixes buildworld after r364069

It was returning the result of a "!=" test; is that not a bool?

-Ravi (rpokala@)

    Modified:
      head/sys/fs/devfs/devfs.h
      head/sys/fs/devfs/devfs_devs.c

    Modified: head/sys/fs/devfs/devfs.h
    
==============================================================================
    --- head/sys/fs/devfs/devfs.h       Mon Aug 10 10:58:43 2020        
(r364075)
    +++ head/sys/fs/devfs/devfs.h       Mon Aug 10 11:46:39 2020        
(r364076)
    @@ -192,7 +192,7 @@ char    *devfs_fqpn(char *, struct devfs_mount *, 
struct 
            struct componentname *);
     void       devfs_delete(struct devfs_mount *, struct devfs_dirent *, int);
     void       devfs_dirent_free(struct devfs_dirent *);
    -bool       devfs_populate_needed(struct devfs_mount *dm);
    +int        devfs_populate_needed(struct devfs_mount *dm);
     void       devfs_populate(struct devfs_mount *);
     void       devfs_cleanup(struct devfs_mount *);
     void       devfs_unmount_final(struct devfs_mount *);

    Modified: head/sys/fs/devfs/devfs_devs.c
    
==============================================================================
    --- head/sys/fs/devfs/devfs_devs.c  Mon Aug 10 10:58:43 2020        
(r364075)
    +++ head/sys/fs/devfs/devfs_devs.c  Mon Aug 10 11:46:39 2020        
(r364076)
    @@ -659,7 +659,7 @@ devfs_populate_loop(struct devfs_mount *dm, int cleanu
        return (0);
     }

    -bool
    +int
     devfs_populate_needed(struct devfs_mount *dm)
     {



_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to