Chameleon

Chameleon Commit Details

Date:2015-03-11 06:10:05 (9 years 1 month ago)
Author:ErmaC
Commit:2610
Parents: 2609
Message:Typo (remove struct as already defined by typedef)
Changes:
M/trunk/i386/libsaio/device_inject.c

File differences

trunk/i386/libsaio/device_inject.c
7474
7575
7676
77
77
7878
7979
8080
8181
8282
8383
84
84
8585
8686
8787
......
175175
176176
177177
178
178
179179
180180
181181
......
274274
275275
276276
277
277
278278
279279
280280
DevPropString *devprop_create_string(void)
{
string = (struct DevPropString *)malloc(sizeof(struct DevPropString));
string = (DevPropString *)malloc(sizeof(DevPropString));
if(string == NULL)
{
return NULL;
}
memset(string, 0, sizeof(struct DevPropString));
memset(string, 0, sizeof(DevPropString));
string->length = 12;
string->WHAT2 = 0x01000000;
return string;
device->acpi_dev_path.length= 0x0c;
device->acpi_dev_path.type= 0x02;
device->acpi_dev_path.subtype= 0x01;
device->acpi_dev_path._HID= 0xd041030a;
device->acpi_dev_path._HID= 0xd041030a; // 0x0a0341d0
device->num_pci_devpaths = numpaths;
device->length = 24 + (6*numpaths);
if(!device->data)
{
device->data = (uint8_t*)malloc(sizeof(uint8_t));
device->data = (uint8_t *)malloc(sizeof(uint8_t));
}
else
{

Archive Download the corresponding diff file

Revision: 2610