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. --- hostmux/node.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hostmux/node.c') diff --git a/hostmux/node.c b/hostmux/node.c index f1e17769..3f629c30 100644 --- a/hostmux/node.c +++ b/hostmux/node.c @@ -43,7 +43,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