diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2021-10-21 08:33:08 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2021-10-21 08:33:08 +0000 |
commit | aa043a660187aed86703938a6209c25eed4d4054 (patch) | |
tree | 11cb565cae43e4d79565a6504d644f6d2f96aa69 /lib/libtls/tls_config.c | |
parent | da8402d51694dca3b97943ad342361d2c95d5739 (diff) |
Print uid with %u instead of %i.
Prompted by a diff by Jonas Termansen, discussed with deraadt, millert
ok jsing
Diffstat (limited to 'lib/libtls/tls_config.c')
-rw-r--r-- | lib/libtls/tls_config.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libtls/tls_config.c b/lib/libtls/tls_config.c index 9144dad9520..4ca497a0321 100644 --- a/lib/libtls/tls_config.c +++ b/lib/libtls/tls_config.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tls_config.c,v 1.63 2021/01/21 22:03:25 eric Exp $ */ +/* $OpenBSD: tls_config.c,v 1.64 2021/10/21 08:33:07 tb Exp $ */ /* * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> * @@ -722,7 +722,7 @@ tls_config_set_session_fd(struct tls_config *config, int session_fd) if (sb.st_uid != getuid()) { tls_config_set_errorx(config, "session file has incorrect " - "owner (uid %i != %i)", sb.st_uid, getuid()); + "owner (uid %u != %u)", sb.st_uid, getuid()); return (-1); } mugo = sb.st_mode & (S_IRWXU|S_IRWXG|S_IRWXO); |