From f5fb7c713ea443469406a691e60a6f4567a4cb75 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Mon, 17 Jan 2022 00:32:29 +0100 Subject: Fix const warnings Now that the RPCs have const, this forces us cleaning our const-meant functions. --- usermux/node.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usermux/node.c') diff --git a/usermux/node.c b/usermux/node.c index 66bf79b1..4d02c242 100644 --- a/usermux/node.c +++ b/usermux/node.c @@ -45,7 +45,7 @@ netfs_node_norefs (struct node *node) locked on success; no matter what, unlock DIR before returning. */ error_t netfs_attempt_create_file (struct iouser *user, struct node *dir, - char *name, mode_t mode, struct node **node) + const char *name, mode_t mode, struct node **node) { *node = 0; pthread_mutex_unlock (&dir->lock); -- cgit v1.2.3