From: Ben Pfaff Date: Fri, 28 Jan 2011 00:25:07 +0000 (-0800) Subject: stream: Fix error message. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c662c789ed30a1e122967d5d183558e1bfe755a8;p=openvswitch stream: Fix error message. This message is supposed to be helpful but with the arguments in the wrong order it was just confusing. --- 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)); } }