--- mgetty-1.1.31/voice/libvoice/shell.c.-W-format 2002-02-19 05:25:23.000000000 -0500
+++ mgetty-1.1.31/voice/libvoice/shell.c 2004-08-20 14:32:31.087904000 -0400
@@ -30,7 +30,7 @@
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);
--- mgetty-1.1.31/voice/vgetty/answer.c.-W-format 2002-12-15 14:43:35.000000000 -0500
+++ mgetty-1.1.31/voice/vgetty/answer.c 2004-08-20 14:35:10.260572000 -0400
@@ -754,7 +754,8 @@
{
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);
}
}
}
--- mgetty-1.1.31/locks.c.-W-format 2001-01-06 12:46:34.000000000 -0500
+++ mgetty-1.1.31/locks.c 2004-08-20 14:28:55.037171000 -0400
@@ -190,7 +190,7 @@
if ( fd < 0 )
{
- lprintf( L_ERROR, "can't open %d for read/write" );
+ lprintf( L_ERROR, "can't open %s for read/write", lock );
return FAIL;
}