Author: glebius
Date: Wed Feb 17 21:09:19 2016
New Revision: 295718
URL: https://svnweb.freebsd.org/changeset/base/295718

Log:
  Add missing braces.
  
  Found by:     PVS-Studio
  Approved by:  so (implicit)

Modified:
  head/sys/dev/random/nehemiah.c

Modified: head/sys/dev/random/nehemiah.c
==============================================================================
--- head/sys/dev/random/nehemiah.c      Wed Feb 17 19:43:03 2016        
(r295717)
+++ head/sys/dev/random/nehemiah.c      Wed Feb 17 21:09:19 2016        
(r295718)
@@ -131,9 +131,10 @@ nehemiah_modevent(module_t mod, int type
                break;
 
        case MOD_UNLOAD:
-               if (via_feature_rng & VIA_HAS_RNG)
+               if (via_feature_rng & VIA_HAS_RNG) {
                        random_nehemiah_deinit();
                        random_source_deregister(&random_nehemiah);
+               }
                break;
 
        case MOD_SHUTDOWN:
_______________________________________________
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