From c662c789ed30a1e122967d5d183558e1bfe755a8 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Thu, 27 Jan 2011 16:25:07 -0800 Subject: [PATCH] stream: Fix error message. This message is supposed to be helpful but with the arguments in the wrong order it was just confusing. --- lib/stream.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/stream.c b/lib/stream.c index 540597f1..90ec5214 100644 --- a/lib/stream.c +++ b/lib/stream.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008, 2009, 2010 Nicira Networks. + * Copyright (c) 2008, 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. @@ -782,7 +782,7 @@ stream_report_content(const void *data, size_t size, vlog_rate_limit(module, VLL_WARN, &rl, "%s: received %s data on %s channel", stream_name, - stream_content_type_to_string(expected_type), - stream_content_type_to_string(actual_type)); + stream_content_type_to_string(actual_type), + stream_content_type_to_string(expected_type)); } } -- 2.30.2