Browse Source

Fix const warning in libc/symlink

K. Lange 3 years ago
parent
commit
91fdce2c27
1 changed files with 1 additions and 1 deletions
  1. 1 1
      libc/unistd/symlink.c

+ 1 - 1
libc/unistd/symlink.c

@@ -4,7 +4,7 @@
 #include <syscall.h>
 #include <syscall_nums.h>
 
-DEFN_SYSCALL2(symlink, SYS_SYMLINK, char *, char *);
+DEFN_SYSCALL2(symlink, SYS_SYMLINK, const char *, const char *);
 
 int symlink(const char *target, const char *name) {
 	int r = syscall_symlink(target, name);