changeset 1002:aa0583e0a96b refine_backend_if

Fix typo for the naem of struct _X_supp_IO_man
author Thinker K.F. Li <thinker@codemud.net>
date Mon, 22 Nov 2010 00:42:30 +0800
parents b462b9e213e8
children 4b1bef7e5516
files src/X_supp.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/X_supp.c	Mon Nov 22 00:42:30 2010 +0800
+++ b/src/X_supp.c	Mon Nov 22 00:42:30 2010 +0800
@@ -216,7 +216,7 @@
 static int
 _x_supp_io_man_reg(struct _mb_IO_man *io_man,
 		   int fd, MB_IO_TYPE type, mb_IO_cb_t cb, void *data) {
-    struct _x_supp_io_man *xmb_io_man = (struct _x_supp_io_man *)io_man;
+    struct _X_supp_IO_man *xmb_io_man = (struct _X_supp_IO_man *)io_man;
     int i;
 
     for(i = 0; i < xmb_io_man->n_monitor; i++) {
@@ -238,7 +238,7 @@
 
 static void
 _x_supp_io_man_unreg(struct _mb_IO_man *io_man, int io_hdl) {
-    struct _x_supp_io_man *xmb_io_man = (struct _x_supp_io_man *)io_man;
+    struct _X_supp_IO_man *xmb_io_man = (struct _X_supp_IO_man *)io_man;
     
     ASSERT(io_hdl < xmb_io_man->n_monitor);
     xmb_io_man->monitors[io_hdl].type = MB_IO_DUMMY;