diff options
Diffstat (limited to 'libs/libgui/msg.c')
-rw-r--r-- | libs/libgui/msg.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libs/libgui/msg.c b/libs/libgui/msg.c index 70a77a1..eda4c34 100644 --- a/libs/libgui/msg.c +++ b/libs/libgui/msg.c @@ -11,14 +11,14 @@ res msg_connect_bus(const char *bus, u32 *conn) { res ret = io_control(IO_BUS, IOCTL_BUS_CONNECT_BUS, bus, conn); - assert(ret == EOK && *conn); - return EOK; + /* assert(ret == EOK && *conn); */ + return ret; } res msg_connect_conn(u32 conn) { res ret = io_control(IO_BUS, IOCTL_BUS_CONNECT_CONN, conn); - assert(ret == EOK); + /* assert(ret == EOK); */ return ret; } @@ -29,7 +29,7 @@ res msg_send(enum message_type type, void *data, u32 size) header->magic = MSG_MAGIC; header->type = type; res ret = io_write(IO_BUS, (u8 *)data + sizeof(struct bus_header), 0, size); - assert(ret >= EOK); + /* assert(ret >= EOK); */ return ret; } |