summaryrefslogtreecommitdiff
path: root/libdiskfs/dir-chg.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdiskfs/dir-chg.c')
-rw-r--r--libdiskfs/dir-chg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdiskfs/dir-chg.c b/libdiskfs/dir-chg.c
index ed8f40c1..0657c45b 100644
--- a/libdiskfs/dir-chg.c
+++ b/libdiskfs/dir-chg.c
@@ -68,7 +68,7 @@ diskfs_notice_dirchange (struct node *dp, enum dir_changed_type type,
while (*preq)
{
struct modreq *req = *preq;
- err = dir_changed (req->port, dp->dirmod_tick, type, name);
+ err = dir_changed (req->port, dp->dirmod_tick, type, (char *) name);
if (err && err != MACH_SEND_TIMED_OUT)
{
/* Remove notify port. */