summaryrefslogtreecommitdiff
path: root/progressmeter.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2003-08-25 01:16:21 +0000
committerBen Lindstrom <mouring@eviladmin.org>2003-08-25 01:16:21 +0000
commit5ade9abc37df3dacacbe20104877ca6dab61082a (patch)
treeb3a521b87d93ecc0f1f17f4e659c1d4bf90f86f5 /progressmeter.c
parentaf4a6c3a5619299a16cfbb545cde110849596204 (diff)
downloadopenssh-git-5ade9abc37df3dacacbe20104877ca6dab61082a.tar.gz
- (bal) redo how we handle 'mysignal()'. Move it to
openbsd-compat/bsd-misc.c, s/mysignal/signal/ and #define signal to be our 'mysignal' by default. OK djm@
Diffstat (limited to 'progressmeter.c')
-rw-r--r--progressmeter.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/progressmeter.c b/progressmeter.c
index 170d869f..9fe8cfa4 100644
--- a/progressmeter.c
+++ b/progressmeter.c
@@ -212,7 +212,7 @@ update_progress_meter(int ignore)
if (can_output())
refresh_progress_meter();
- mysignal(SIGALRM, update_progress_meter);
+ signal(SIGALRM, update_progress_meter);
alarm(UPDATE_INTERVAL);
errno = save_errno;
}
@@ -243,7 +243,7 @@ start_progress_meter(char *f, off_t filesize, off_t *stat)
if (can_output())
refresh_progress_meter();
- mysignal(SIGALRM, update_progress_meter);
+ signal(SIGALRM, update_progress_meter);
alarm(UPDATE_INTERVAL);
}