diff options
| author | David Lamparter <equinox@diac24.net> | 2019-04-28 16:19:55 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-04-28 16:19:55 +0200 |
| commit | 9f9e9ef825a0148b993e4ca16fcadb52fa943a27 (patch) | |
| tree | 950bb88b8d2aa040abeecc10b0ea36ca21495877 /lib/workqueue.c | |
| parent | 86336f620f6e175e5552085877fa02ffaf9591b1 (diff) | |
| parent | 095e1819289a6cfb46c86cdf7f02d56c29fa4a9c (diff) | |
Merge pull request #4159 from sworleys/WQ-ErrFunc-Fix
lib: Fix workqueue error function callback
Diffstat (limited to 'lib/workqueue.c')
| -rw-r--r-- | lib/workqueue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/workqueue.c b/lib/workqueue.c index 066d81f350..54090d0d0f 100644 --- a/lib/workqueue.c +++ b/lib/workqueue.c @@ -280,7 +280,7 @@ int work_queue_run(struct thread *thread) if (item->ran > wq->spec.max_retries) { /* run error handler, if any */ if (wq->spec.errorfunc) - wq->spec.errorfunc(wq, item->data); + wq->spec.errorfunc(wq, item); work_queue_item_remove(wq, item); continue; } |
