aboutsummaryrefslogtreecommitdiff
path: root/console-client/current-vcs.c
diff options
context:
space:
mode:
Diffstat (limited to 'console-client/current-vcs.c')
-rw-r--r--console-client/current-vcs.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/console-client/current-vcs.c b/console-client/current-vcs.c
index fb053799..ce90de4f 100644
--- a/console-client/current-vcs.c
+++ b/console-client/current-vcs.c
@@ -107,9 +107,10 @@ vcs_read (struct protid *user, char **data,
/* Making a link to set current vcs.
Relative values perform relative switches. */
static error_t
-vcs_mksymlink (struct iouser *user, struct node *np, char *name)
+vcs_mksymlink (struct iouser *user, struct node *np, const char *name)
{
- char *c, *d;
+ const char *c;
+ char *d;
int vt, delta = 0;
c = strrchr (name, '/');