aboutsummaryrefslogtreecommitdiffstats
path: root/main/openssh/openssh-peaktput.diff
diff options
context:
space:
mode:
Diffstat (limited to 'main/openssh/openssh-peaktput.diff')
-rw-r--r--main/openssh/openssh-peaktput.diff2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/openssh/openssh-peaktput.diff b/main/openssh/openssh-peaktput.diff
index b376433d8a..d511242944 100644
--- a/main/openssh/openssh-peaktput.diff
+++ b/main/openssh/openssh-peaktput.diff
@@ -27,7 +27,7 @@ index 0f95222..6b22511 100644
transferred = *counter - cur_pos;
cur_pos = *counter;
- now = time(NULL);
+ now = monotime();
bytes_left = end_pos - cur_pos;
+ delta_pos = cur_pos - last_pos;