aboutsummaryrefslogtreecommitdiff
path: root/lib/stream.c
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2011-01-27 16:25:07 -0800
committerBen Pfaff <blp@nicira.com>2011-01-27 21:06:04 -0800
commitc662c789ed30a1e122967d5d183558e1bfe755a8 (patch)
tree19e8f641756457e79778ad2811d5dc8779eea4d5 /lib/stream.c
parentf441c1a854f243acf4a5abac4c3c612fe6937950 (diff)
stream: Fix error message.
This message is supposed to be helpful but with the arguments in the wrong order it was just confusing.
Diffstat (limited to 'lib/stream.c')
-rw-r--r--lib/stream.c6
1 files 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));
}
}