test/lpfktest.c

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