-/* $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>
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 */
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;
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;