From d689a6a819c5bd4f4bde2c8766c0c7652b70eb3e Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Wed, 8 Dec 2010 17:08:46 -0800 Subject: [PATCH] ofp-print: Fix typos. --- lib/ofp-print.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ofp-print.c b/lib/ofp-print.c index faffe557..28f2f3ce 100644 --- a/lib/ofp-print.c +++ b/lib/ofp-print.c @@ -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; } -- 2.30.2