libxl: correct function name
PATCH 1/1 libxl: correct function name
spaw_ -> spawn_
Signed-off-by Wei Liu <[email protected]>
Cc Ian Campbell <[email protected]>
Cc Ian Jackson <[email protected]>
--- tools/libxl/libxl_dm.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-)
tools/libxl/libxl_dm.c +7 -7
@@ -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);
Signature · 1 line
1.9.1
Quoted 1 line · Wei Liu
spaw_->spawn_
Uh, I wonder how that happened and then persisted to all the uses too!
Quoted 3 lines
Signed-off-by Wei Liu <[email protected]>Cc Ian Campbell <[email protected]>Cc Ian Jackson <[email protected]>
Acked + applied.