]> xenbits.xensource.com Git - libvirt.git/commitdiff
util: fix a typo in virprocess.c and docs
authorHongwei Bi <hwbi2008@gmail.com>
Thu, 27 Mar 2014 05:49:48 +0000 (13:49 +0800)
committerEric Blake <eblake@redhat.com>
Thu, 27 Mar 2014 12:58:46 +0000 (06:58 -0600)
s/forcably/forcibly

Signed-off-by: Hongwei Bi <hwbi2008@gmail.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
docs/internals/command.html.in
include/libvirt/libvirt.h.in
src/util/virprocess.c

index fc767d96b1c227dc8eec5edeb5f54aca74ae927e..64365b25e30fe6575d155fb9b44b7b2269feb309 100644 (file)
       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>
index 91e3e3b9a605a5e3e45c8d9193971f02e7932c1b..930b7e80027ee63efceaefa1ba5d19fb4be14fcd 100644 (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 */
 
index 405ad06f21c961f180717dbcba66170813a368b5..9179d73b999b2ac3f290728a865f79a994620f20 100644 (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