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:
parent
76a4353b79
commit
89e73c2bbc
|
@ -776,7 +776,7 @@ publish_devices()
|
|||
if (!gDeviceNames)
|
||||
return NULL;
|
||||
|
||||
gDeviceNames[index++] = DEVICE_NAME;
|
||||
gDeviceNames[index++] = strdup(DEVICE_NAME);
|
||||
|
||||
mutex_lock(&gDeviceListLock);
|
||||
raw_device *element = gDeviceList;
|
||||
|
|
Loading…
Reference in New Issue