[ovs-dev] [bug5781 1/3] ovsdb: Fix spelling of "constraint violation" in error tag.

Ben Pfaff blp at nicira.com
Tue May 31 20:02:25 UTC 2011


---
 ovsdb/mutation.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/ovsdb/mutation.c b/ovsdb/mutation.c
index 9f09d59..7ae83fe 100644
--- a/ovsdb/mutation.c
+++ b/ovsdb/mutation.c
@@ -1,4 +1,4 @@
-/* Copyright (c) 2009, 2010 Nicira Networks
+/* Copyright (c) 2009, 2010, 2011 Nicira Networks
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -327,7 +327,7 @@ ovsdb_mutation_check_count(struct ovsdb_datum *dst,
     if (!ovsdb_datum_conforms_to_type(dst, dst_type)) {
         char *s = ovsdb_type_to_english(dst_type);
         struct ovsdb_error *e = ovsdb_error(
-            "constaint violation",
+            "constraint violation",
             "Attempted to store %u elements in %s.", dst->n, s);
         free(s);
         return e;
-- 
1.7.4.4




More information about the dev mailing list