[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] libxl: correct function name



spaw_ -> spawn_

Signed-off-by: Wei Liu <wei.liu2@xxxxxxxxxx>
Cc: Ian Campbell <ian.campbell@xxxxxxxxxx>
Cc: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---
 tools/libxl/libxl_dm.c | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/tools/libxl/libxl_dm.c b/tools/libxl/libxl_dm.c
index c2b0487..ab65a72 100644
--- a/tools/libxl/libxl_dm.c
+++ b/tools/libxl/libxl_dm.c
@@ -972,9 +972,9 @@ static void stubdom_pvqemu_cb(libxl__egc *egc,
                               libxl__multidev *aodevs,
                               int rc);
 
-static void spaw_stubdom_pvqemu_destroy_cb(libxl__egc *egc,
-                                           libxl__destroy_domid_state *dis,
-                                           int rc);
+static void spawn_stubdom_pvqemu_destroy_cb(libxl__egc *egc,
+                                            libxl__destroy_domid_state *dis,
+                                            int rc);
 
 char *libxl__stub_dm_name(libxl__gc *gc, const char *guest_name)
 {
@@ -1269,7 +1269,7 @@ static void stubdom_pvqemu_cb(libxl__egc *egc,
         if (dm_domid) {
             sdss->dis.ao = ao;
             sdss->dis.domid = dm_domid;
-            sdss->dis.callback = spaw_stubdom_pvqemu_destroy_cb;
+            sdss->dis.callback = spawn_stubdom_pvqemu_destroy_cb;
             libxl__destroy_domid(egc, &sdss->dis);
             return;
         }
@@ -1277,9 +1277,9 @@ static void stubdom_pvqemu_cb(libxl__egc *egc,
     sdss->callback(egc, &sdss->dm, rc);
 }
 
-static void spaw_stubdom_pvqemu_destroy_cb(libxl__egc *egc,
-                                           libxl__destroy_domid_state *dis,
-                                           int rc)
+static void spawn_stubdom_pvqemu_destroy_cb(libxl__egc *egc,
+                                            libxl__destroy_domid_state *dis,
+                                            int rc)
 {
     libxl__stub_dm_spawn_state *sdss = CONTAINER_OF(dis, *sdss, dis);
     STATE_AO_GC(sdss->dis.ao);
-- 
1.9.1


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.