Parcourir la source

This -Wall -Wextra thing actually caught a real bug.

Signed-off-by: Peter Jones <pjones@redhat.com>
Signed-off-by: Nigel Croxon <nigel.croxon@hpe.com>
Nigel Croxon il y a 9 ans
Parent
commit
ab6c6ef7f3
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      lib/print.c

+ 2 - 2
lib/print.c

@@ -743,7 +743,7 @@ Routine Description:
 
 Arguments:
 
-    Out         - The console to print the string too
+    Out         - The console to print the string to
 
     Column, Row - The cursor position to print the string at
 
@@ -759,7 +759,7 @@ Returns:
     UINTN       back;
 
     va_start (args, fmt);
-    back = _IPrint (Column, Row, ST->ConOut, fmt, NULL, args);
+    back = _IPrint (Column, Row, Out, fmt, NULL, args);
     va_end (args);
     return back;
 }