ofp-print: Fix typos.
authorBen Pfaff <blp@nicira.com>
Thu, 9 Dec 2010 01:08:46 +0000 (17:08 -0800)
committerBen Pfaff <blp@nicira.com>
Thu, 9 Dec 2010 01:08:57 +0000 (17:08 -0800)
lib/ofp-print.c

index faffe55..28f2f3c 100644 (file)
@@ -1021,9 +1021,9 @@ ofp_print_error_msg(struct ds *string, const struct ofp_error_msg *oem)
 
     if (type == NXET_VENDOR && code == NXVC_VENDOR_ERROR) {
         if (len < sizeof *oem + sizeof(struct nx_vendor_error)) {
-            ds_put_format(&string,
+            ds_put_format(string,
                           "(***truncated extended error message is %zu bytes "
-                          "when it should be at least %zu***)\n"
+                          "when it should be at least %zu***)\n",
                           len, sizeof(struct nx_vendor_error));
             return;
         }