Ignore:
Timestamp:
06/13/06 07:10:55 (6 years ago)
Author:
aj
Message:

add workaround to get openbsd working. Thanks to Markus Schatzl for the patch.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/ifd/sys-bsd.c

    r831 r881  
    391391                        if (!(driver = ifd_driver_for_id(&id))) 
    392392                                continue; 
    393  
     393#ifdef __OpenBSD__ 
     394                        snprintf(device, sizeof(device), 
     395                                "/dev/%s.00", device_info.udi_devnames[0]); 
     396#else 
    394397                        snprintf(device, sizeof(device), 
    395398                                 "/dev/%s", device_info.udi_devnames[0]); 
     399#endif  /* __OpenBSD__ */ 
    396400 
    397401                        ifd_spawn_handler(driver, device, -1); 
Note: See TracChangeset for help on using the changeset viewer.