]> andersk Git - openssh.git/blobdiff - ssh-keyscan.c
- markus@cvs.openbsd.org 2002/06/27 08:49:44
[openssh.git] / ssh-keyscan.c
index 333a38e34fc4087ea10e666aa11e55cc8d237b23..d9bbb91f88bd9eaa4cb59f118769820cfed5659c 100644 (file)
@@ -7,7 +7,7 @@
  */
 
 #include "includes.h"
-RCSID("$OpenBSD: ssh-keyscan.c,v 1.36 2002/06/16 21:30:58 itojun Exp $");
+RCSID("$OpenBSD: ssh-keyscan.c,v 1.37 2002/06/27 08:49:44 markus Exp $");
 
 #include "openbsd-compat/fake-queue.h"
 
@@ -116,7 +116,8 @@ Linebuf_alloc(const char *filename, void (*errfun) (const char *,...))
 
        if (!(lb = malloc(sizeof(*lb)))) {
                if (errfun)
-                       (*errfun) ("linebuf (%s): malloc failed\n", lb->filename);
+                       (*errfun) ("linebuf (%s): malloc failed\n",
+                           filename ? filename : "(stdin)");
                return (NULL);
        }
        if (filename) {
This page took 0.051494 seconds and 4 git commands to generate.