summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2007-10-10 18:28:18 +0000
committerMarc Kleine-Budde <mkl@pengutronix.de>2007-10-10 18:28:18 +0000
commit8ff24c760dd2f970e85827b0f4ff815c98ec4257 (patch)
treef218b65732afb1c985624a755b42394e461aba80
parent7bac8ec92398cedc9a223cbd45481c618fe5eda3 (diff)
downloadcanutils-8ff24c760dd2f970e85827b0f4ff815c98ec4257.tar.gz
* src/cansequence.c:
fixed out of order expected and received value git-svn-id: https://iocaste.extern.pengutronix.de/svn/canutils/trunks/canutils-2.0-trunk@84 5fd5a299-6ef2-0310-aa18-8b01d7c39d8c
-rw-r--r--src/cansequence.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cansequence.c b/src/cansequence.c
index c5492ba..f452c24 100644
--- a/src/cansequence.c
+++ b/src/cansequence.c
@@ -166,7 +166,7 @@ int main(int argc, char **argv)
printf("received frame. sequence number: %d\n",sequence);
if (frame.data[0] != sequence) {
printf("received wrong sequence count. expected: %d, got: %d\n",
- frame.data[0], sequence);
+ sequence, frame.data[0]);
if(quit)
exit(1);
sequence = frame.data[0];