* worth of data, and then queues that for transmission
* to the client.
*
- * Returns 0 if data was queued for TX, or a error RPC
+ * Returns 0 if data was queued for TX, or an error RPC
* was sent, or -1 on fatal error, indicating client should
* be killed
*/
</pre>
<p>
- To add a entire NULL terminated array of arguments in one go,
+ To add an entire NULL terminated array of arguments in one go,
there are two options.
</p>
if ((nextslot = virBitmapNextClearBit(slotmap, -1)) < 0) {
virReportError(VIR_ERR_INTERNAL_ERROR, "%s",
- _("failed to find a emtpy memory slot"));
+ _("failed to find an empty memory slot"));
return -1;
}
return -1;
}
if (vol->target.format == VIR_STORAGE_VOL_DISK_EXTENDED) {
- /* make sure we don't have a extended partition already */
+ /* make sure we don't have an extended partition already */
for (i = 0; i < pool->volumes.count; i++) {
if (pool->volumes.objs[i]->source.partType ==
VIR_STORAGE_VOL_DISK_TYPE_EXTENDED) {
return -1;
break;
case VIR_STORAGE_VOL_DISK_TYPE_LOGICAL:
- /* make sure we have a extended partition */
+ /* make sure we have an extended partition */
for (i = 0; i < pool->volumes.count; i++) {
if (pool->volumes.objs[i]->source.partType ==
VIR_STORAGE_VOL_DISK_TYPE_EXTENDED) {
/* Don't report failure in close or unlink, because
* in either case we're already in a failure scenario
- * and have reported a earlier error */
+ * and have reported an earlier error */
if (ret != 0) {
VIR_FORCE_CLOSE(fd);
unlink(path);
*
* As a special case, the result of splitting the empty string "" is an empty
* vector, not a vector containing a single string. The reason for this
- * special case is that being able to represent a empty vector is typically
+ * special case is that being able to represent an empty vector is typically
* more useful than consistent handling of empty elements. If you do need
* to represent empty elements, you'll need to check for the empty string
* before calling virStringSplit().
vboxRet = 0;
}
- /* Get the vbox file handle and add a event handle to it
+ /* Get the vbox file handle and add an event handle to it
* so that the events can be passed down to the user
*/
if (vboxRet == 0) {
vboxRet = 0;
}
- /* Get the vbox file handle and add a event handle to it
+ /* Get the vbox file handle and add an event handle to it
* so that the events can be passed down to the user
*/
if (vboxRet == 0) {
if (virTimeStringNowRaw(timestamp) < 0)
timestamp[0] = '\0';
- vshPrint(data->ctl, _("%s: event '%s'' for node device %s\n"),
+ vshPrint(data->ctl, _("%s: event '%s' for node device %s\n"),
timestamp,
data->cb->name,
virNodeDeviceGetName(dev));