diff options
-rw-r--r-- | libdiskfs/boot-start.c | 4 | ||||
-rw-r--r-- | libdiskfs/dir-chg.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/libdiskfs/boot-start.c b/libdiskfs/boot-start.c index 731d8c6d..60bf33dd 100644 --- a/libdiskfs/boot-start.c +++ b/libdiskfs/boot-start.c @@ -228,8 +228,8 @@ diskfs_start_bootstrap () } lookup_init: - err = dir_lookup (root_pt, initname, O_READ, 0, - &retry, pathbuf, &startup_pt); + err = dir_lookup (root_pt, (char *) initname, O_READ, 0, &retry, pathbuf, + &startup_pt); init_lookups++; if (err) { 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. */ |