Index: key.c
===================================================================
RCS file: /cvs/openssh/key.c,v
retrieving revision 1.50
diff -u -r1.50 key.c
--- key.c	11 Sep 2002 23:49:17 -0000	1.50
+++ key.c	8 Oct 2002 16:23:55 -0000
@@ -848,7 +848,7 @@
 			fatal("key_demote: BN_dup failed");
 		break;
 	default:
-		fatal("key_free: bad key type %d", k->type);
+		fatal("key_demote: bad key type %d", k->type);
 		break;
 	}
 
Index: sshd.c
===================================================================
RCS file: /cvs/openssh/sshd.c,v
retrieving revision 1.231
diff -u -r1.231 sshd.c
--- sshd.c	30 Sep 2002 01:59:23 -0000	1.231
+++ sshd.c	8 Oct 2002 16:23:57 -0000
@@ -1216,6 +1216,8 @@
 			if (f) {
 				fprintf(f, "%ld\n", (long) getpid());
 				fclose(f);
+			} else {
+				error("Could not create pid file: %.400s", options.pid_file);
 			}
 		}
 
