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:
Wim van der Meer 2010-07-01 11:56:48 +00:00
parent 76a4353b79
commit 89e73c2bbc
1 changed files with 1 additions and 1 deletions

View File

@ -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;