VirtualBox

Changeset 5942 in vbox


Ignore:
Timestamp:
Dec 3, 2007 12:49:37 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
26488
Message:

Remove incorrect trailing dots in the error messages.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Storage/DevATA.cpp

    r5645 r5942  
    59285928    if (!CFGMR3AreValuesValid(pCfgHandle, "GCEnabled\0IRQDelay\0R0Enabled\0PIIX4\0"))
    59295929        return PDMDEV_SET_ERROR(pDevIns, VERR_PDM_DEVINS_UNKNOWN_CFG_VALUES,
    5930                                 N_("PIIX3 configuration error: unknown option specified."));
     5930                                N_("PIIX3 configuration error: unknown option specified"));
    59315931
    59325932    rc = CFGMR3QueryBool(pCfgHandle, "GCEnabled", &fGCEnabled);
     
    59355935    else if (VBOX_FAILURE(rc))
    59365936        return PDMDEV_SET_ERROR(pDevIns, rc,
    5937                                 N_("PIIX3 configuration error: failed to read GCEnabled as boolean."));
     5937                                N_("PIIX3 configuration error: failed to read GCEnabled as boolean"));
    59385938    Log(("%s: fGCEnabled=%d\n", __FUNCTION__, fGCEnabled));
    59395939
     
    59435943    else if (VBOX_FAILURE(rc))
    59445944        return PDMDEV_SET_ERROR(pDevIns, rc,
    5945                                 N_("PIIX3 configuration error: failed to read R0Enabled as boolean."));
     5945                                N_("PIIX3 configuration error: failed to read R0Enabled as boolean"));
    59465946    Log(("%s: fR0Enabled=%d\n", __FUNCTION__, fR0Enabled));
    59475947
     
    59515951    else if (VBOX_FAILURE(rc))
    59525952        return PDMDEV_SET_ERROR(pDevIns, rc,
    5953                                 N_("PIIX3 configuration error: failed to read IRQDelay as integer."));
     5953                                N_("PIIX3 configuration error: failed to read IRQDelay as integer"));
    59545954    Log(("%s: DelayIRQMillies=%d\n", __FUNCTION__, DelayIRQMillies));
    59555955    Assert(DelayIRQMillies < 50);
     
    59605960    else if (VBOX_FAILURE(rc))
    59615961        return PDMDEV_SET_ERROR(pDevIns, rc,
    5962                                 N_("PIIX3 configuration error: failed to read PIIX4 as boolean."));
     5962                                N_("PIIX3 configuration error: failed to read PIIX4 as boolean"));
    59635963    Log(("%s: fPIIX4=%d\n", __FUNCTION__, pData->fPIIX4));
    59645964
     
    60316031    if (VBOX_FAILURE(rc))
    60326032        return PDMDEV_SET_ERROR(pDevIns, rc,
    6033                                 N_("PIIX3 cannot register PCI device."));
     6033                                N_("PIIX3 cannot register PCI device"));
    60346034    AssertMsg(pData->dev.devfn == 9 || iInstance != 0, ("pData->dev.devfn=%d\n", pData->dev.devfn));
    60356035    rc = PDMDevHlpPCIIORegionRegister(pDevIns, 4, 0x10, PCI_ADDRESS_SPACE_IO, ataBMDMAIORangeMap);
    60366036    if (VBOX_FAILURE(rc))
    60376037        return PDMDEV_SET_ERROR(pDevIns, rc,
    6038                                 N_("PIIX3 cannot register PCI I/O region for BMDMA."));
     6038                                N_("PIIX3 cannot register PCI I/O region for BMDMA"));
    60396039
    60406040    /*
     
    60476047                                     ataIOPortWrite1, ataIOPortRead1, ataIOPortWriteStr1, ataIOPortReadStr1, "ATA I/O Base 1");
    60486048        if (VBOX_FAILURE(rc))
    6049             return PDMDEV_SET_ERROR(pDevIns, rc, N_("PIIX3 cannot register I/O handlers."));
     6049            return PDMDEV_SET_ERROR(pDevIns, rc, N_("PIIX3 cannot register I/O handlers"));
    60506050
    60516051        if (fGCEnabled)
     
    60546054                                           "ataIOPortWrite1", "ataIOPortRead1", "ataIOPortWriteStr1", "ataIOPortReadStr1", "ATA I/O Base 1");
    60556055            if (VBOX_FAILURE(rc))
    6056                 return PDMDEV_SET_ERROR(pDevIns, rc, N_("PIIX3 cannot register I/O handlers (GC)."));
     6056                return PDMDEV_SET_ERROR(pDevIns, rc, N_("PIIX3 cannot register I/O handlers (GC)"));
    60576057        }
    60586058
     
    60736073                                     ataIOPortWrite2, ataIOPortRead2, NULL, NULL, "ATA I/O Base 2");
    60746074        if (VBOX_FAILURE(rc))
    6075             return PDMDEV_SET_ERROR(pDevIns, rc, N_("PIIX3 cannot register base2 I/O handlers."));
     6075            return PDMDEV_SET_ERROR(pDevIns, rc, N_("PIIX3 cannot register base2 I/O handlers"));
    60766076
    60776077        if (fGCEnabled)
     
    60806080                                           "ataIOPortWrite2", "ataIOPortRead2", NULL, NULL, "ATA I/O Base 2");
    60816081            if (VBOX_FAILURE(rc))
    6082                 return PDMDEV_SET_ERROR(pDevIns, rc, N_("PIIX3 cannot register base2 I/O handlers (GC)."));
     6082                return PDMDEV_SET_ERROR(pDevIns, rc, N_("PIIX3 cannot register base2 I/O handlers (GC)"));
    60836083        }
    60846084        if (fR0Enabled)
     
    60876087                                           "ataIOPortWrite2", "ataIOPortRead2", NULL, NULL, "ATA I/O Base 2");
    60886088            if (VBOX_FAILURE(rc))
    6089                 return PDMDEV_SET_ERROR(pDevIns, rc, N_("PIIX3 cannot register base2 I/O handlers (R0)."));
     6089                return PDMDEV_SET_ERROR(pDevIns, rc, N_("PIIX3 cannot register base2 I/O handlers (R0)"));
    60906090        }
    60916091
     
    61206120        rc = PDMDevHlpCritSectInit(pDevIns, &pData->aCts[i].lock, szName);
    61216121        if (VBOX_FAILURE(rc))
    6122             return PDMDEV_SET_ERROR(pDevIns, rc, N_("PIIX3 cannot initialize critical section."));
     6122            return PDMDEV_SET_ERROR(pDevIns, rc, N_("PIIX3 cannot initialize critical section"));
    61236123    }
    61246124
     
    61326132    {
    61336133        AssertMsgFailed(("Failed to attach to status driver. rc=%Vrc\n", rc));
    6134         return PDMDEV_SET_ERROR(pDevIns, rc, N_("PIIX3 cannot attach to status driver."));
     6134        return PDMDEV_SET_ERROR(pDevIns, rc, N_("PIIX3 cannot attach to status driver"));
    61356135    }
    61366136
     
    61946194                        return rc;
    61956195                    default:
    6196                         return PDMDevHlpVMSetError(pDevIns, rc, RT_SRC_POS, N_(
    6197                                "PIIX3 cannot attach drive to the %s"), s_apszDescs[i][j]);
     6196                        return PDMDevHlpVMSetError(pDevIns, rc, RT_SRC_POS,
     6197                                                   N_("PIIX3 cannot attach drive to the %s"),
     6198                                                   s_apszDescs[i][j]);
    61986199                }
    61996200            }
     
    62076208                              ataSaveLoadPrep, ataLoadExec, NULL);
    62086209    if (VBOX_FAILURE(rc))
    6209         return PDMDEV_SET_ERROR(pDevIns, rc, N_("PIIX3 cannot register save state handlers."));
     6210        return PDMDEV_SET_ERROR(pDevIns, rc, N_("PIIX3 cannot register save state handlers"));
    62106211
    62116212    /*
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette