Commit 7455493f authored by Yathindra Naik's avatar Yathindra Naik

Correcting typos.

parent 5db1e887
......@@ -450,7 +450,7 @@ static bool write_node(struct connection *conn, const struct node *node)
log("write_node: conn %p, node %p\n",conn,node);
#ifdef CONFIG_XENCAP
if (domain_is_cap(conn)) {
log("write_node: node->num_caps %d, size %d\n",node->num_caps, node->caps[0]);
log("write_node: node->num_caps %d, size %ld\n",node->num_caps, sizeof(node->caps[0]));
data.dsize = 4*sizeof(uint32_t)
+ node->num_perms*sizeof(node->perms[0])
......@@ -494,7 +494,7 @@ static bool write_node(struct connection *conn, const struct node *node)
if (domain_is_unprivileged(conn) && data.dsize >= quota_max_entry_size)
{
#if CONFIG_XENCAP
log("data.dsize is %d >= quota_max_entry_size %d\n",data.dsize,quota_max_entry_size);
log("data.dsize >= quota_max_entry_size\n");
goto error;
#endif
}
......@@ -521,7 +521,6 @@ static int caps_for_conn(struct connection *conn,
int domid = get_domid(conn);
xc_interface *xch;
log("caps_for_conn: get_domid returned domid %d\n");
xch = xc_interface_open(0,0,0);
if(xch == 0)
......@@ -661,7 +660,7 @@ struct node *get_node(struct connection *conn,
}
node = read_node(conn, name);
log("get_node: node is 0x%x\n",node);
log("get_node: node is %p\n",node);
#ifdef CONFIG_XENCAP
if ( domain_is_cap(conn) ) {
log("get_node: Before caps_for_conn\n");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment