Chameleon

Chameleon Commit Details

Date:2010-02-01 03:49:39 (14 years 2 months ago)
Author:Rekursor
Commit:59
Parents: 58
Message:Cleaned up few warnings
Changes:
M/trunk/i386/libsaio/nvidia.c
M/trunk/i386/libsaio/pci.c

File differences

trunk/i386/libsaio/nvidia.c
594594
595595
596596
597
598597
599598
600599
......
616615
617616
618617
619
618
620619
621620
622621
static int devprop_add_nvidia_template(struct DevPropDevice *device)
{
chartmp[16];
intlen;
if(!device)
return 0;
// Rek : Dont use sprintf return, it does not WORK !! our custom sprintf() always return 0!
// len = sprintf(tmp, "Slot-%x", devices_number);
sprintf(tmp, "Slot-%x",devices_number);
devprop_add_value(device, "AAPL,slot-name", tmp, strlen(tmp));
devprop_add_value(device, "AAPL,slot-name", (uint8_t *) tmp, strlen(tmp));
devices_number++;
return 1;
trunk/i386/libsaio/pci.c
77
88
99
10
1011
1112
1213
#include "libsaio.h"
#include "bootstruct.h"
#include "pci.h"
#include "pci_root.h"
#ifndef DEBUG_PCI
#define DEBUG_PCI 0

Archive Download the corresponding diff file

Revision: 59