Changeset 21908 in vbox for trunk/src/VBox/HostDrivers/VBoxNetAdp
- Timestamp:
- Jul 31, 2009 9:38:31 AM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 50563
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/VBoxNetAdp/solaris/VBoxNetAdp-solaris.c
r17803 r21908 231 231 if (RT_SUCCESS(rc)) 232 232 { 233 /* 234 * Create the release logger instance. 235 */ 236 static const char *const s_apszGroups[] = VBOX_LOGGROUP_NAMES; 237 PRTLOGGER pRelLogger; 238 rc = RTLogCreate(&pRelLogger, 0 /* fFlags */, "all", "VBOX_RELEASE_LOG", RT_ELEMENTS(s_apszGroups), s_apszGroups, 239 RTLOGDEST_STDOUT | RTLOGDEST_DEBUGGER, NULL); 240 if (RT_SUCCESS(rc)) 241 RTLogRelSetDefaultInstance(pRelLogger); 242 233 243 rc = mod_install(&g_VBoxNetAdpSolarisModLinkage); 234 244 if (!rc) … … 236 246 237 247 LogRel((DEVICE_NAME ":mod_install failed. rc=%d\n", rc)); 248 RTLogDestroy(RTLogRelSetDefaultInstance(NULL)); 249 RTLogDestroy(RTLogSetDefaultInstance(NULL)); 238 250 RTR0Term(); 239 251 } … … 253 265 * Undo the work done during start (in reverse order). 254 266 */ 267 RTLogDestroy(RTLogRelSetDefaultInstance(NULL)); 268 RTLogDestroy(RTLogSetDefaultInstance(NULL)); 255 269 RTR0Term(); 256 270
Note:
See TracChangeset
for help on using the changeset viewer.