test/lpfktest.c

changeset 8
fd84ec9e11df
parent 0
745037d69d81
child 13
23a3d358dad3
     1.1 diff -r 3a75ccaaa1ac -r fd84ec9e11df test/lpfktest.c
     1.2 --- a/test/lpfktest.c	Tue Aug 26 22:01:01 2008 +0100
     1.3 +++ b/test/lpfktest.c	Tue Aug 26 22:05:07 2008 +0100
     1.4 @@ -14,7 +14,7 @@
     1.5  		return -1;
     1.6  	}
     1.7  
     1.8 -	if ((i = lpfk_open(argv[1], &ctx)) != LPFK_E_OK) {
     1.9 +	if ((i = lpfk_open(&ctx, argv[1])) != LPFK_E_OK) {
    1.10  		switch(i) {
    1.11  			case LPFK_E_PORT_OPEN:
    1.12  				printf("Error opening comm port.\n");