diff options
Diffstat (limited to 'src/transport/test_plugin_transport_wlan_dummy.c')
-rw-r--r-- | src/transport/test_plugin_transport_wlan_dummy.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/transport/test_plugin_transport_wlan_dummy.c b/src/transport/test_plugin_transport_wlan_dummy.c index b4fd46610..53b957eca 100644 --- a/src/transport/test_plugin_transport_wlan_dummy.c +++ b/src/transport/test_plugin_transport_wlan_dummy.c | |||
@@ -58,7 +58,7 @@ void sigfunc(int sig) | |||
58 | int | 58 | int |
59 | main(int argc, char *argv[]) | 59 | main(int argc, char *argv[]) |
60 | { | 60 | { |
61 | struct stat st; | 61 | struct stat st,st2; |
62 | int erg; | 62 | int erg; |
63 | int first; | 63 | int first; |
64 | FILE *fpin; | 64 | FILE *fpin; |
@@ -72,7 +72,7 @@ main(int argc, char *argv[]) | |||
72 | //make the fifos if needed | 72 | //make the fifos if needed |
73 | if (stat(FIFO_FILE1, &st) != 0) | 73 | if (stat(FIFO_FILE1, &st) != 0) |
74 | { | 74 | { |
75 | if (stat(FIFO_FILE2, &st) != 0) | 75 | if (stat(FIFO_FILE2, &st2) != 0) |
76 | { | 76 | { |
77 | perror("FIFO 2 exists, but FIFO 1 not"); | 77 | perror("FIFO 2 exists, but FIFO 1 not"); |
78 | exit(1); | 78 | exit(1); |
@@ -96,7 +96,7 @@ main(int argc, char *argv[]) | |||
96 | else | 96 | else |
97 | { | 97 | { |
98 | first = 0; | 98 | first = 0; |
99 | if (stat(FIFO_FILE2, &st) == 0) | 99 | if (stat(FIFO_FILE2, &st2) == 0) |
100 | { | 100 | { |
101 | perror("FIFO 1 exists, but FIFO 2 not"); | 101 | perror("FIFO 1 exists, but FIFO 2 not"); |
102 | exit(1); | 102 | exit(1); |