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. --- libdiskfs/file-set-trans.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libdiskfs/file-set-trans.c') diff --git a/libdiskfs/file-set-trans.c b/libdiskfs/file-set-trans.c index b55967f9..36f0c3b8 100644 --- a/libdiskfs/file-set-trans.c +++ b/libdiskfs/file-set-trans.c @@ -198,7 +198,7 @@ diskfs_S_file_set_translator (struct protid *cred, if (!diskfs_create_symlink_hook || err == EINVAL) /* Store the argument in the file as the target of the link */ - err = diskfs_node_rdwr (np, arg, 0, strlen (arg), + err = diskfs_node_rdwr (np, (char*) arg, 0, strlen (arg), 1, cred, 0); if (err) { -- cgit v1.2.3