commit c97d8278a809f939e1163d1087314178ef25f19b
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Sun Feb 20 23:50:46 2022 +0100

    libmachdev: Register translator for shutdown notification
    
    When starting a libmachdev translator after bootstrap, we still want the
    translator to be notified by startup, to properly flush buffers etc.

diff --git a/libmachdev/trivfs_server.c b/libmachdev/trivfs_server.c
index 14367157..e122b0f9 100644
--- a/libmachdev/trivfs_server.c
+++ b/libmachdev/trivfs_server.c
@@ -569,6 +569,8 @@ machdev_trivfs_server(mach_port_t bootstrap)
       mach_port_deallocate (mach_task_self (), bootstrap);
       if (err)
         error (1, err, "Contacting parent");
+
+      arrange_shutdown_notification ();
     }
   else
     {
