Changeset 19342 in vbox for trunk/src/VBox/HostDrivers/Support
- Timestamp:
- May 4, 2009 9:26:42 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 46829
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/freebsd/SUPLib-freebsd.cpp
r13865 r19342 60 60 #include <unistd.h> 61 61 #include <stdlib.h> 62 62 #include <stdio.h> 63 63 64 64 /******************************************************************************* … … 86 86 { 87 87 errno = 0; 88 RTStrPrintf(szDevice, sizeof(szDevice), DEVICE_NAME "%d", iUnit);88 snprintf(szDevice, sizeof(szDevice), DEVICE_NAME "%d", iUnit); 89 89 hDevice = open(szDevice, O_RDWR, 0); 90 90 if (hDevice >= 0 || errno != EBUSY)
Note:
See TracChangeset
for help on using the changeset viewer.