summaryrefslogtreecommitdiffstats
path: root/bin/rcp
diff options
context:
space:
mode:
authornate <nate@FreeBSD.org>1996-09-20 04:45:59 +0000
committernate <nate@FreeBSD.org>1996-09-20 04:45:59 +0000
commit754710fca5593616434d854946b7b70461100283 (patch)
treef733163bca229df79edc1639ad8fc7685fb61b66 /bin/rcp
parent459d16ccf858303ed3a99bd09b3a7b691c726b18 (diff)
downloadFreeBSD-src-754710fca5593616434d854946b7b70461100283.zip
FreeBSD-src-754710fca5593616434d854946b7b70461100283.tar.gz
ts_sec -> tv_sec
ts_nsec -> tv_nsec
Diffstat (limited to 'bin/rcp')
-rw-r--r--bin/rcp/rcp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/rcp/rcp.c b/bin/rcp/rcp.c
index cefbb37..d23f451 100644
--- a/bin/rcp/rcp.c
+++ b/bin/rcp/rcp.c
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: rcp.c,v 1.6 1996/02/08 21:06:40 pst Exp $
+ * $Id: rcp.c,v 1.7 1996/02/11 09:01:32 markm Exp $
*/
#ifndef lint
@@ -433,7 +433,7 @@ syserr: run_err("%s: %s", name, strerror(errno));
* versions expecting microseconds.
*/
(void)snprintf(buf, sizeof(buf), "T%ld 0 %ld 0\n",
- stb.st_mtimespec.ts_sec, stb.st_atimespec.ts_sec);
+ stb.st_mtimespec.tv_sec, stb.st_atimespec.tv_sec);
(void)write(rem, buf, strlen(buf));
if (response() < 0)
goto next;
@@ -497,7 +497,7 @@ rsource(name, statp)
last++;
if (pflag) {
(void)snprintf(path, sizeof(path), "T%ld 0 %ld 0\n",
- statp->st_mtimespec.ts_sec, statp->st_atimespec.ts_sec);
+ statp->st_mtimespec.tv_sec, statp->st_atimespec.tv_sec);
(void)write(rem, path, strlen(path));
if (response() < 0) {
closedir(dirp);
OpenPOWER on IntegriCloud