summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2007-10-10 18:46:08 +0000
committerMarc Kleine-Budde <mkl@pengutronix.de>2007-10-10 18:46:08 +0000
commit0217e15bd4f85141a48850a30ed77065b6037041 (patch)
tree9ce2a0986233dd8039017cce717e04ce8d6fa044
parent8ff24c760dd2f970e85827b0f4ff815c98ec4257 (diff)
downloadcanutils-0217e15bd4f85141a48850a30ed77065b6037041.tar.gz
* src/cansequence.c:
fixed print of received frame number git-svn-id: https://iocaste.extern.pengutronix.de/svn/canutils/trunks/canutils-2.0-trunk@85 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 f452c24..22d31d9 100644
--- a/src/cansequence.c
+++ b/src/cansequence.c
@@ -163,7 +163,7 @@ int main(int argc, char **argv)
sequence = frame.data[0];
}
if (verbose>1)
- printf("received frame. sequence number: %d\n",sequence);
+ printf("received frame. sequence number: %d\n", frame.data[0]);
if (frame.data[0] != sequence) {
printf("received wrong sequence count. expected: %d, got: %d\n",
sequence, frame.data[0]);