svn commit: r280664 - stable/9/sys/dev/bce

Pyun YongHyeon yongari at FreeBSD.org
Thu Mar 26 05:18:18 UTC 2015


Author: yongari
Date: Thu Mar 26 05:18:17 2015
New Revision: 280664
URL: https://svnweb.freebsd.org/changeset/base/280664

Log:
  MFC r279223:
    Correct a typo.

Modified:
  stable/9/sys/dev/bce/if_bcereg.h
Directory Properties:
  stable/9/sys/   (props changed)
  stable/9/sys/dev/   (props changed)

Modified: stable/9/sys/dev/bce/if_bcereg.h
==============================================================================
--- stable/9/sys/dev/bce/if_bcereg.h	Thu Mar 26 05:17:20 2015	(r280663)
+++ stable/9/sys/dev/bce/if_bcereg.h	Thu Mar 26 05:18:17 2015	(r280664)
@@ -465,7 +465,7 @@
 /* Returns FALSE in "defects" per 2^31 - 1 calls, otherwise returns TRUE. */
 #define DB_RANDOMFALSE(defects)        (random() > defects)
 #define DB_OR_RANDOMFALSE(defects)  || (random() > defects)
-#define DB_AND_RANDOMFALSE(defects) && (random() > ddfects)
+#define DB_AND_RANDOMFALSE(defects) && (random() > defects)
 
 /* Returns TRUE in "defects" per 2^31 - 1 calls, otherwise returns FALSE. */
 #define DB_RANDOMTRUE(defects)         (random() < defects)


More information about the svn-src-stable-9 mailing list