* 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
This commit is contained in:
Marc Kleine-Budde
2020-10-14 18:00:36 +02:00
parent 3794644caa
commit ac8ae17727
+1 -1
View File
@@ -166,7 +166,7 @@ int main(int argc, char **argv)
printf("received frame. sequence number: %d\n",sequence); printf("received frame. sequence number: %d\n",sequence);
if (frame.data[0] != sequence) { if (frame.data[0] != sequence) {
printf("received wrong sequence count. expected: %d, got: %d\n", printf("received wrong sequence count. expected: %d, got: %d\n",
frame.data[0], sequence); sequence, frame.data[0]);
if(quit) if(quit)
exit(1); exit(1);
sequence = frame.data[0]; sequence = frame.data[0];