chiark / gitweb /
login: rename session_mute_vt() to session_prepare_vt()
[elogind.git] / src / login / logind-session.c
index 83c0ffa65c2abad777b9493435aeca07e78c2b1f..8e6f95e6cd5f38f2469b8c0a3f7cab8eedb71b6c 100644 (file)
@@ -963,7 +963,7 @@ static int session_vt_fn(sd_event_source *source, const struct signalfd_siginfo
         return 0;
 }
 
         return 0;
 }
 
-void session_mute_vt(Session *s) {
+void session_prepare_vt(Session *s) {
         int vt, r;
         struct vt_mode mode = { 0 };
         sigset_t mask;
         int vt, r;
         struct vt_mode mode = { 0 };
         sigset_t mask;
@@ -1095,7 +1095,7 @@ int session_set_controller(Session *s, const char *sender, bool force) {
          * exits.
          * If logind crashes/restarts, we restore the controller during restart
          * or reset the VT in case it crashed/exited, too. */
          * exits.
          * If logind crashes/restarts, we restore the controller during restart
          * or reset the VT in case it crashed/exited, too. */
-        session_mute_vt(s);
+        session_prepare_vt(s);
 
         return 0;
 }
 
         return 0;
 }