projects
/
project
/
fstools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
libfstools: add "const" to char pointer arguments in mount_move()
[project/fstools.git]
/
libfstools
/
mount.c
diff --git
a/libfstools/mount.c
b/libfstools/mount.c
index
4dc6e3a
..
c7f2789
100644
(file)
--- a/
libfstools/mount.c
+++ b/
libfstools/mount.c
@@
-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(c
har *oldroot, char *newroot,
char *dir)
+mount_move(c
onst char *oldroot, const char *newroot, const
char *dir)
{
#ifndef MS_MOVE
#define MS_MOVE (1 << 13)