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

version 1.1, 2004/02/21 06:48:08 version 1.2, 2004/05/05 22:19:24
Line 463  acpi_cmbat_get_total_battinfo(struct acp Line 463  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