You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

52 lines
1.5 KiB

diff --git a/tests/test-enhanced-mixer.cpp b/tests/test-enhanced-mixer.cpp
index 8ac00aa..d557daf 100644
--- a/tests/test-enhanced-mixer.cpp
+++ b/tests/test-enhanced-mixer.cpp
@@ -77,7 +77,7 @@ main(int argc, char **argv)
exit(0);
}
- int errno = 0;
+ errno = 0;
char* tail;
int node_id = strtol( argv[1], &tail, 0 );
int fb_id = strtol( argv[2], &tail, 0 );
diff --git a/tests/test-mixer.cpp b/tests/test-mixer.cpp
index 807bd7b..5f426a7 100644
--- a/tests/test-mixer.cpp
+++ b/tests/test-mixer.cpp
@@ -227,7 +227,7 @@ main( int argc, char **argv )
exit(0);
}
- int errno = 0;
+ errno = 0;
char* tail;
int port = strtol( argv[1], &tail, 0 );
int node_id = strtol( argv[2], &tail, 0 );
diff --git a/tests/test-pan.cpp b/tests/test-pan.cpp
index 4b7b825..895c9cf 100644
--- a/tests/test-pan.cpp
+++ b/tests/test-pan.cpp
@@ -131,7 +131,7 @@ main(int argc, char **argv)
exit(0);
}
- int errno = 0;
+ errno = 0;
char* tail;
int node_id = strtol( argv[1], &tail, 0 );
int fb_id = strtol( argv[2], &tail, 0 );
diff --git a/tests/test-volume.cpp b/tests/test-volume.cpp
index 65ccb8b..6810819 100644
--- a/tests/test-volume.cpp
+++ b/tests/test-volume.cpp
@@ -127,7 +127,7 @@ main(int argc, char **argv)
exit(0);
}
- int errno = 0;
+ errno = 0;
char* tail;
int node_id = strtol( argv[1], &tail, 0 );
int fb_id = strtol( argv[2], &tail, 0 );