util: fix a typo in virprocess.c and docs

s/forcably/forcibly

Signed-off-by: Hongwei Bi <hwbi2008@gmail.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
This commit is contained in:
Hongwei Bi 2014-03-27 13:49:48 +08:00 committed by Eric Blake
parent 09bfe11090
commit b2ed4f68b4
3 changed files with 4 additions and 4 deletions

View File

@ -547,7 +547,7 @@
There is no need to check if <code>cmd</code> is NULL
before calling <code>virCommandFree</code>. This scenario
is handled automatically. If the command is still running,
it will be forcably killed and cleaned up (via waitpid).
it will be forcibly killed and cleaned up (via waitpid).
</p>
<h2><a name="example">Complete examples</a></h2>

View File

@ -4,7 +4,7 @@
* Description: Provides the interfaces of the libvirt library to handle
* virtualized domains
*
* Copyright (C) 2005-2006, 2010-2013 Red Hat, Inc.
* Copyright (C) 2005-2006, 2010-2014 Red Hat, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@ -4635,7 +4635,7 @@ typedef enum {
VIR_DOMAIN_EVENT_WATCHDOG_NONE = 0, /* No action, watchdog ignored */
VIR_DOMAIN_EVENT_WATCHDOG_PAUSE, /* Guest CPUs are paused */
VIR_DOMAIN_EVENT_WATCHDOG_RESET, /* Guest CPUs are reset */
VIR_DOMAIN_EVENT_WATCHDOG_POWEROFF, /* Guest is forcably powered off */
VIR_DOMAIN_EVENT_WATCHDOG_POWEROFF, /* Guest is forcibly powered off */
VIR_DOMAIN_EVENT_WATCHDOG_SHUTDOWN, /* Guest is requested to gracefully shutdown */
VIR_DOMAIN_EVENT_WATCHDOG_DEBUG, /* No action, a debug message logged */

View File

@ -283,7 +283,7 @@ int virProcessKill(pid_t pid, int sig)
* Try to kill the process and verify it has exited
*
* Returns 0 if it was killed gracefully, 1 if it
* was killed forcably, -1 if it is still alive,
* was killed forcibly, -1 if it is still alive,
* or another error occurred.
*/
int