summaryrefslogtreecommitdiff
path: root/syscall.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2006-11-19 00:23:21 +0000
committerWayne Davison <wayned@samba.org>2006-11-19 00:23:21 +0000
commit4a19c3b254b01c298fe25d72f450a760278e9386 (patch)
tree7fa0be332e7ae1c85d92b836f68f5fe60b623a97 /syscall.c
parent4743f0f41b2e180d22616c89331ee3b06d628628 (diff)
downloadrsync-4a19c3b254b01c298fe25d72f450a760278e9386.tar.gz
rsync-4a19c3b254b01c298fe25d72f450a760278e9386.tar.bz2
rsync-4a19c3b254b01c298fe25d72f450a760278e9386.zip
Added "const" to appropriate char pointers.
Diffstat (limited to 'syscall.c')
-rw-r--r--syscall.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/syscall.c b/syscall.c
index 868e00d3..aaf59626 100644
--- a/syscall.c
+++ b/syscall.c
@@ -75,7 +75,7 @@ int do_lchown(const char *path, uid_t owner, gid_t group)
return lchown(path, owner, group);
}
-int do_mknod(char *pathname, mode_t mode, dev_t dev)
+int do_mknod(const char *pathname, mode_t mode, dev_t dev)
{
if (dry_run) return 0;
RETURN_ERROR_IF_RO_OR_LO;