Fakultas Ilmu Komputer UI

Commit c10aa4b9 authored by Ardhi Putra Pratama's avatar Ardhi Putra Pratama
Browse files

fixup! renaming, commenting stuffs

parent 05274182
...@@ -12,7 +12,7 @@ int main(){ ...@@ -12,7 +12,7 @@ int main(){
int ret, fd; int ret, fd;
char stringToSend[BUFFER_LENGTH]; char stringToSend[BUFFER_LENGTH];
printf("Starting device test code example...\n"); printf("Starting device test code example...\n");
fd = open("/dev/rdchardrv", O_RDWR); // Open the device with read/write access fd = open("/dev/rdcdevdr", O_RDWR); // Open the device with read/write access
if (fd < 0){ if (fd < 0){
perror("Failed to open the device..."); perror("Failed to open the device...");
return errno; return errno;
......
Supports Markdown
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