From 04bd8b0bcc92eca7304898ce35705e0f403514c1 Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Sun, 25 May 2003 14:38:33 +1000 Subject: - djm@cvs.openbsd.org 2003/05/24 09:30:40 [authfile.c monitor.c sftp-common.c sshpty.c] cast some types for printing; ok markus@ --- authfile.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'authfile.c') diff --git a/authfile.c b/authfile.c index d563abb71..1f46093e3 100644 --- a/authfile.c +++ b/authfile.c @@ -36,7 +36,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: authfile.c,v 1.53 2003/05/11 16:56:48 markus Exp $"); +RCSID("$OpenBSD: authfile.c,v 1.54 2003/05/24 09:30:39 djm Exp $"); #include #include @@ -514,7 +514,7 @@ key_perm_ok(int fd, const char *filename) error("@ WARNING: UNPROTECTED PRIVATE KEY FILE! @"); error("@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@"); error("Permissions 0%3.3o for '%s' are too open.", - st.st_mode & 0777, filename); + (u_int)st.st_mode & 0777, filename); error("It is recommended that your private key files are NOT accessible by others."); error("This private key will be ignored."); return 0; -- cgit v1.2.3