libfstools: add "const" to char pointer arguments in mount_move()
[project/fstools.git] / libfstools / mount.c
index 551f4e78dbcd05d86ad5cab76b125fb75f10da06..12c4a31d77c75c27e6cdb6dbde93f30121afd0b8 100644 (file)
@@ -32,7 +32,7 @@ extern int pivot_root(const char *new_root, const char *put_old);
  * @newroot: new directory for the mount point
  */
 int
-mount_move(char *oldroot, char *newroot, char *dir)
+mount_move(const char *oldroot, const char *newroot, const char *dir)
 {
 #ifndef MS_MOVE
 #define MS_MOVE        (1 << 13)