diff options
Diffstat (limited to 'libdiskfs')
-rw-r--r-- | libdiskfs/boot-start.c | 3 | ||||
-rw-r--r-- | libdiskfs/init-startup.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/libdiskfs/boot-start.c b/libdiskfs/boot-start.c index b62d5f30..6d9a7734 100644 --- a/libdiskfs/boot-start.c +++ b/libdiskfs/boot-start.c @@ -33,6 +33,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #include <string.h> #include <argz.h> #include <error.h> +#include <pids.h> #include "fsys_S.h" #include "fsys_reply_U.h" @@ -606,7 +607,7 @@ diskfs_S_fsys_init (mach_port_t port, proc_register_version (procserver, host, diskfs_server_name, "", diskfs_server_version); - err = proc_getmsgport (procserver, 1, &startup); + err = proc_getmsgport (procserver, HURD_PID_STARTUP, &startup); if (!err) { startup_essential_task (startup, mach_task_self (), MACH_PORT_NULL, diff --git a/libdiskfs/init-startup.c b/libdiskfs/init-startup.c index 2c0814fd..ff1622f0 100644 --- a/libdiskfs/init-startup.c +++ b/libdiskfs/init-startup.c @@ -26,6 +26,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #include <error.h> #include <hurd/fsys.h> #include <hurd/startup.h> +#include <pids.h> char *_diskfs_chroot_directory; @@ -190,7 +191,7 @@ _diskfs_init_completed () if (err) goto errout; - err = proc_getmsgport (proc, 1, &init); + err = proc_getmsgport (proc, HURD_PID_STARTUP, &init); mach_port_deallocate (mach_task_self (), proc); if (err) goto errout; |