Commit 3191611e authored by Vitaly Lipatov's avatar Vitaly Lipatov

fix device name in the test program

parent 6d628419
......@@ -83,8 +83,7 @@ main()
int file_desc, ret_val;
char *msg = " ioctl\n";
// file_desc = open(DEVICE_FILE_NAME, 0);
file_desc = open("/dev/cbsideA", 0);
file_desc = open("/dev/cbsideA0", 0);
if (file_desc < 0) {
printf(" : %s\n", DEVICE_FILE_NAME);
printf("With error(%d): %s\n", errno, strerror(errno));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment