Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37778220
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


--- 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;
     }
 
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin