Even though the passed string never has a %, use an explicit %s format string in...
authorKen Raeburn <raeburn@mit.edu>
Fri, 29 Jun 2007 00:31:10 +0000 (00:31 +0000)
committerKen Raeburn <raeburn@mit.edu>
Fri, 29 Jun 2007 00:31:10 +0000 (00:31 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19652 dc483132-0cff-0310-8789-dd5450dbe970

src/appl/bsd/krlogin.c

index 05913f60750d9e8fbb5039d3360ddb2b35447d46..0a0f5919cc36b0728fe4856485e2339b84fedf7f 100644 (file)
@@ -1794,7 +1794,7 @@ static void
 prf(f)
      char *f;
 {
-    fprintf(stderr, f);
+    fprintf(stderr, "%s", f);
     fprintf(stderr, CRLF);
 }