Diff for /src/sys/dev/acpica/Attic/acpi_cmbat.c between versions 1.1 and 1.2

version 1.1, 2003/09/24 03:32:16 version 1.2, 2004/05/05 22:19:23
Line 497  acpi_cmbat_get_total_battinfo(struct acp Line 497  acpi_cmbat_get_total_battinfo(struct acp
         if (bat == NULL) {          if (bat == NULL) {
                 bat_units = acpi_cmbat_units;                  bat_units = acpi_cmbat_units;
                 bat = malloc(sizeof(struct acpi_cmbat_softc *) * bat_units,                  bat = malloc(sizeof(struct acpi_cmbat_softc *) * bat_units,
                             M_ACPICMBAT, M_NOWAIT);                             M_ACPICMBAT, M_INTWAIT);
                if (bat == NULL) { 
                        error = ENOMEM; 
                        goto out; 
                } 
   
                 /* Collect softc pointers */                  /* Collect softc pointers */
                 for (i = 0; i < acpi_cmbat_units; i++) {                  for (i = 0; i < acpi_cmbat_units; i++) {

Removed from v.1.1  
changed lines
  Added in v.1.2