ALT Linux repos
Group :: Communications
RPM: mgetty
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: mgetty-1.1.31-W-format.patch
Download
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);
}
}
}