Fix to get rid of a 'deprecated conversion from string constant to 'char*'' warning.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37324 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -776,7 +776,7 @@ publish_devices()
|
|||||||
if (!gDeviceNames)
|
if (!gDeviceNames)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
gDeviceNames[index++] = DEVICE_NAME;
|
gDeviceNames[index++] = strdup(DEVICE_NAME);
|
||||||
|
|
||||||
mutex_lock(&gDeviceListLock);
|
mutex_lock(&gDeviceListLock);
|
||||||
raw_device *element = gDeviceList;
|
raw_device *element = gDeviceList;
|
||||||
|
|||||||
Reference in New Issue
Block a user