aboutsummaryrefslogtreecommitdiff
path: root/console-client/trans.h
diff options
context:
space:
mode:
Diffstat (limited to 'console-client/trans.h')
-rw-r--r--console-client/trans.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/console-client/trans.h b/console-client/trans.h
index 9891cf3f..c7ca6a79 100644
--- a/console-client/trans.h
+++ b/console-client/trans.h
@@ -37,7 +37,7 @@ struct consnode
/* Read data to a node. This is exactly the same as io_write
does. */
- error_t (*write) (struct protid *user, char *data,
+ error_t (*write) (struct protid *user, const char *data,
mach_msg_type_number_t datalen, off_t offset,
mach_msg_type_number_t *amount);
@@ -59,7 +59,7 @@ struct consnode
error_t (*readlink) (struct iouser *user, struct node *np, char *buf);
/* Called when the symlink is written */
- error_t (*mksymlink) (struct iouser *cred, struct node *np, char *name);
+ error_t (*mksymlink) (struct iouser *cred, struct node *np, const char *name);
struct consnode *next;
};