diff options
author | Michael I. Bushnell <mib@gnu.org> | 1996-05-09 17:50:37 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1996-05-09 17:50:37 +0000 |
commit | cba3c8e8b9e92ca645199e4a63e7de5e37e935de (patch) | |
tree | 984c0631230a3d19eec7ad628549e111884edd0c /libdiskfs | |
parent | eb2682fddb25bc4fd079d0783b0daa0f6abf8c1a (diff) |
(_diskfs_init_completed): Provide helpful name to init.
Diffstat (limited to 'libdiskfs')
-rw-r--r-- | libdiskfs/init-startup.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libdiskfs/init-startup.c b/libdiskfs/init-startup.c index b9857c76..9214d4dc 100644 --- a/libdiskfs/init-startup.c +++ b/libdiskfs/init-startup.c @@ -109,6 +109,7 @@ _diskfs_init_completed () error_t err; struct port_info *pi; mach_port_t notify; + char *name; /* Contact the startup server and register our shutdown request. If we get an error, print an informational message. */ @@ -137,7 +138,10 @@ _diskfs_init_completed () goto errout; } - err = startup_request_notification (init, notify /* , name */); + asprintf (&name, "%s %s", program_invocation_short_name, + diskfs_device_arg); + err = startup_request_notification (init, notify, name); + free (name); if (err) goto errout; |