From e7e8e562a46d37adfc185757261764eb7bc3e84f Mon Sep 17 00:00:00 2001 From: claudio Date: Mon, 22 Mar 2021 11:26:44 +0000 Subject: [PATCH] Adjust function name in error strings. From kristaps@ --- usr.bin/rsync/flist.c | 8 ++++---- 1 file 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 * Copyright (c) 2019 Florian Obser @@ -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; -- 2.20.1