summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorclaudio <claudio@openbsd.org>2021-03-22 11:26:44 +0000
committerclaudio <claudio@openbsd.org>2021-03-22 11:26:44 +0000
commite7e8e562a46d37adfc185757261764eb7bc3e84f (patch)
tree58d7428256691381d1e37f963284a424a62464a4
parentAdjust a type to unsigned since the io function works on unsigned ints. (diff)
downloadwireguard-openbsd-e7e8e562a46d37adfc185757261764eb7bc3e84f.tar.xz
wireguard-openbsd-e7e8e562a46d37adfc185757261764eb7bc3e84f.zip
Adjust function name in error strings.
From kristaps@
-rw-r--r--usr.bin/rsync/flist.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/rsync/flist.c b/usr.bin/rsync/flist.c
index a17929df8f9..88c777be2b4 100644
--- a/usr.bin/rsync/flist.c
+++ b/usr.bin/rsync/flist.c
@@ -1,4 +1,4 @@
-/* $Id: flist.c,v 1.29 2019/06/27 18:03:37 deraadt Exp $ */
+/* $Id: flist.c,v 1.30 2021/03/22 11:26:44 claudio Exp $ */
/*
* Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2019 Florian Obser <florian@openbsd.org>
@@ -635,7 +635,7 @@ flist_recv(struct sess *sess, int fd, struct flist **flp, size_t *sz)
if (!(FLIST_TIME_SAME & flag)) {
if (!io_read_uint(sess, fd, &uival)) {
- ERRX1("io_read_int");
+ ERRX1("io_read_uint");
goto out;
}
ff->st.mtime = uival; /* beyond 2038 */
@@ -649,7 +649,7 @@ flist_recv(struct sess *sess, int fd, struct flist **flp, size_t *sz)
if (!(FLIST_MODE_SAME & flag)) {
if (!io_read_uint(sess, fd, &uival)) {
- ERRX1("io_read_int");
+ ERRX1("io_read_uint");
goto out;
}
ff->st.mode = uival;
@@ -680,7 +680,7 @@ flist_recv(struct sess *sess, int fd, struct flist **flp, size_t *sz)
if (sess->opts->preserve_gids) {
if (!(FLIST_GID_SAME & flag)) {
if (!io_read_uint(sess, fd, &uival)) {
- ERRX1("io_read_int");
+ ERRX1("io_read_uint");
goto out;
}
ff->st.gid = uival;