Skip to content
  • Thomas Haller's avatar
    gmain: improve g_warning() for failure in g_child_watch_dispatch() · 89b55fa9
    Thomas Haller authored
    Print the PID, the errno and the pidfd in case of an unexpected failure
    in g_child_watch_dispatch().
    
    This is always(?) caused by a bug in the user application. Also hint to
    g_child_watch_source_new() documentation for possible causes.
    
    Also use G_PID_FORMAT for printing GPid values.
    89b55fa9