summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2001-03-04 09:26:23 +0000
committerKris Kennaway <kris@FreeBSD.org>2001-03-04 09:26:23 +0000
commit59baa93d20893d2b6e87d23040dd75eb666e712f (patch)
treeda4f8acaa1ff26417e84af1617d338e5697bbee2
parent5e5e98b9d02a0683354fbbbc7bc61aa15b63a8f3 (diff)
Notes
-rw-r--r--usr.bin/xinstall/xinstall.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/xinstall/xinstall.c b/usr.bin/xinstall/xinstall.c
index 87c0b1c2bd07..f46f3326e152 100644
--- a/usr.bin/xinstall/xinstall.c
+++ b/usr.bin/xinstall/xinstall.c
@@ -434,8 +434,8 @@ different:
printf("install: %s -> %s\n",
from_name, old_to_name);
if (dopreserve && stat(from_name, &timestamp_sb) == 0) {
- utb.actime = from_sb.st_atime;
- utb.modtime = from_sb.st_mtime;
+ utb.actime = timestamp_sb.st_atime;
+ utb.modtime = timestamp_sb.st_mtime;
(void)utime(to_name, &utb);
}
moveit: