summaryrefslogtreecommitdiff
path: root/node.c
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2023-10-03 21:35:37 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2023-10-03 21:35:37 +0200
commitd1d0d8f4d628a2ab8c851d88fc0bc1e05aa5febc (patch)
tree6011a68a1f5663993eaea665aa743e081139583b /node.c
parentfb0a19fb706b4d46d640ea3eef4cd170290a1a59 (diff)
Fix build
Diffstat (limited to 'node.c')
-rw-r--r--node.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/node.c b/node.c
index 3c42d2847..be356ad82 100644
--- a/node.c
+++ b/node.c
@@ -729,8 +729,8 @@ error_t node_unlink_file (node_t * dir, char *name)
of the translator opened as `flags.`*/
error_t
node_set_translator
- (struct protid * diruser, node_t * np, char * trans, int flags,
- char * filename, mach_port_t * port)
+ (struct protid * diruser, node_t * np, const char * trans, int flags,
+ const char * filename, mach_port_t * port)
{
error_t err;
mach_port_t p;