summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 b376433d8..d51124294 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;