]> arthur.barton.de Git - netatalk.git/blobdiff - libatalk/util/unix.c
Remove const from path
[netatalk.git] / libatalk / util / unix.c
index a74ca80b49648d5464d34166ab81508674db9092..7c80e22d5d761085503fd990b05b63b38157a569 100644 (file)
@@ -263,7 +263,7 @@ int ochown(const char *path, uid_t owner, gid_t group, int options)
  * O_NOFOLLOW: don't chmod() symlinks, do nothing, return 0
  * O_NETATALK_ACL: call chmod_acl() instead of chmod()
  */
-int ochmod(const char *path, mode_t mode, const struct stat *st, int options)
+int ochmod(char *path, mode_t mode, const struct stat *st, int options)
 {
     struct stat sb;