diff options
author | mouring <mouring> | 2002-06-23 21:23:20 +0000 |
---|---|---|
committer | mouring <mouring> | 2002-06-23 21:23:20 +0000 |
commit | ba6722e9c8ae3cad5b9e2b857bc0edf22f5261e7 (patch) | |
tree | 820a105866d869964b7381a41c6efd403d7e5c8a /sshpty.c | |
parent | d8a271820bb09d49bd698d82607917addfec02b0 (diff) | |
download | openssh-ba6722e9c8ae3cad5b9e2b857bc0edf22f5261e7.tar.gz |
- deraadt@cvs.openbsd.org 2002/06/23 03:30:58
[scard.c ssh-dss.c ssh-rsa.c sshconnect.c sshconnect2.c sshd.c sshlogin.c
sshpty.c]
various KNF and %d for unsigned
Diffstat (limited to 'sshpty.c')
-rw-r--r-- | sshpty.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -12,7 +12,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: sshpty.c,v 1.4 2001/12/19 07:18:56 deraadt Exp $"); +RCSID("$OpenBSD: sshpty.c,v 1.5 2002/06/23 03:30:58 deraadt Exp $"); #ifdef HAVE_UTIL_H # include <util.h> @@ -394,11 +394,11 @@ pty_setowner(struct passwd *pw, const char *ttyname) if (chown(ttyname, pw->pw_uid, gid) < 0) { if (errno == EROFS && (st.st_uid == pw->pw_uid || st.st_uid == 0)) - error("chown(%.100s, %d, %d) failed: %.100s", + error("chown(%.100s, %u, %u) failed: %.100s", ttyname, pw->pw_uid, gid, strerror(errno)); else - fatal("chown(%.100s, %d, %d) failed: %.100s", + fatal("chown(%.100s, %u, %u) failed: %.100s", ttyname, pw->pw_uid, gid, strerror(errno)); } |