Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37421318
en ru br
ALT Linux repos
S:1.2.1-alt1
5.0: 1.1.35-alt1.1
4.1: 1.1.35-alt1
4.0: 1.1.31-alt1.1
3.0: 1.1.31-alt1

Group :: Communications
RPM: mgetty

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: mgetty-1.1.31-W-format.patch
Download


diff --git a/mgetty/voice/libvoice/shell.c b/mgetty/voice/libvoice/shell.c
index d0eec60..ff6c700 100644
--- a/mgetty/voice/libvoice/shell.c
+++ b/mgetty/voice/libvoice/shell.c
@@ -30,7 +30,7 @@ int voice_execute_shell_script(char *shell_script, char **shell_options)
      int should_close_2 = 0;
 
      if (strlen(shell_script) == 0)
-          lprintf(L_MESG, "%s: Executing shell %s", program_name, shell_script, cvd.voice_shell.d.p);
+          lprintf(L_MESG, "%s: Executing shell %s", program_name, cvd.voice_shell.d.p);
      else
           lprintf(L_MESG, "%s: Executing shell script %s with shell %s", program_name, shell_script,
            cvd.voice_shell.d.p);
diff --git a/mgetty/voice/vgetty/answer.c b/mgetty/voice/vgetty/answer.c
index b6d61ff..dc7457b 100644
--- a/mgetty/voice/vgetty/answer.c
+++ b/mgetty/voice/vgetty/answer.c
@@ -754,7 +754,8 @@ int vgetty_answer(int rings, int rings_wanted, int dist_ring)
                {
                if (voice_beep(cvd.beep_frequency.d.i, cvd.beep_length.d.i) == FAIL)
                     {
-                    lprintf(L_WARN, "%s: Beep command failed");
+                    lprintf(L_WARN, "%s: Beep command failed",
+		     program_name);
                     }
                }
           }
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin