* The AccelerantHWInterface now prints a message to syslog if an accelerant
doesn't have the correct interface. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36211 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -20,8 +20,9 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <syslog.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include <Accelerant.h>
|
||||
#include <Cursor.h>
|
||||
@@ -312,7 +313,8 @@ AccelerantHWInterface::_OpenAccelerant(int device)
|
||||
return B_ERROR;
|
||||
|
||||
if (_SetupDefaultHooks() != B_OK) {
|
||||
ATRACE(("cannot setup default hooks\n"));
|
||||
syslog(LOG_ERR, "Accelerant %s does not export the required hooks.\n",
|
||||
signature);
|
||||
|
||||
uninit_accelerant uninitAccelerant = (uninit_accelerant)
|
||||
fAccelerantHook(B_UNINIT_ACCELERANT, NULL);
|
||||
|
||||
Reference in New Issue
Block a user