vlog: Fix initializer in VLOG_RATE_LIMIT macro.
authorBen Pfaff <blp@nicira.com>
Thu, 8 Jan 2009 23:27:52 +0000 (15:27 -0800)
committerBen Pfaff <blp@nicira.com>
Thu, 8 Jan 2009 23:27:52 +0000 (15:27 -0800)
Found by -Wmissing-field-initializers.

lib/vlog.h

index a01309bfcb8cec29d6ea9d50a7d882b13243400c..cd832a713d80216601a383442764815f8fda4664 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2008 The Board of Trustees of The Leland Stanford
+/* Copyright (c) 2008, 2009 The Board of Trustees of The Leland Stanford
  * Junior University
  * 
  * We are making the OpenFlow specification and associated documentation
@@ -110,6 +110,7 @@ struct vlog_rate_limit {
              * VLOG_MSG_TOKENS),            /* burst */     \
             0,                              /* tokens */    \
             0,                              /* last_fill */ \
+            0,                              /* first_dropped */ \
             0,                              /* n_dropped */ \
         }