diff options
-rw-r--r-- | libdiskfs/init-startup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libdiskfs/init-startup.c b/libdiskfs/init-startup.c index 885f7ccc..d2802db5 100644 --- a/libdiskfs/init-startup.c +++ b/libdiskfs/init-startup.c @@ -136,8 +136,8 @@ _diskfs_init_completed () notify = ports_get_right (pi); ports_port_deref (pi); - asprintf (&name, "%s %s", program_invocation_short_name, - diskfs_device_arg); + asprintf (&name, + "%s %s", program_invocation_short_name, diskfs_disk_name ?: "-"); err = startup_request_notification (init, notify, MACH_MSG_TYPE_MAKE_SEND, name); free (name); |