Changeset 5162:85c55ccd12a9 in roaraudio for roard/driver_raw.c
- Timestamp:
- 10/16/11 20:12:40 (13 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
roard/driver_raw.c
r4708 r5162 36 36 37 37 if ( fh == -1 ) { 38 if ( (fh = open(device, O_CREAT|O_TRUNC|O_WRONLY, 0644)) == -1 ) {38 if ( roar_vio_open_file(inst, device, O_CREAT|O_TRUNC|O_WRONLY, 0644) == -1 ) 39 39 return -1; 40 } 40 } else { 41 if ( roar_vio_open_fh(inst, fh) == -1 ) 42 return -1; 41 43 } 42 43 roar_vio_set_fh(inst, fh);44 44 45 45 return 0;
Note: See TracChangeset
for help on using the changeset viewer.