diff options
author | Alex Auvolat <alex@adnab.me> | 2016-07-13 23:11:55 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2016-07-13 23:11:55 +0200 |
commit | d09f8a08bdd9477bd463a2de03397ff56b5ce75d (patch) | |
tree | 4818750ff1fccd02f24e6f2089937190d2e6724b /src/kernel/user/process.c | |
parent | 8a89ad4b01bafcdb64349e81fb4883a6c5f45187 (diff) | |
download | kogata-d09f8a08bdd9477bd463a2de03397ff56b5ce75d.tar.gz kogata-d09f8a08bdd9477bd463a2de03397ff56b5ce75d.zip |
Add delta wrt. function in stack dump
Diffstat (limited to 'src/kernel/user/process.c')
-rw-r--r-- | src/kernel/user/process.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/user/process.c b/src/kernel/user/process.c index 7b0c351..43294ce 100644 --- a/src/kernel/user/process.c +++ b/src/kernel/user/process.c @@ -541,7 +541,7 @@ void proc_close_fd(process_t *p, int fd) { user_region_t *find_user_region(process_t *proc, const void* addr) { mutex_lock(&proc->lock); - user_region_t *r = (proc->regions_idx != 0 ? (user_region_t*)btree_lower(proc->regions_idx, addr) : 0); + user_region_t *r = (proc->regions_idx != 0 ? (user_region_t*)btree_lower(proc->regions_idx, addr, 0) : 0); if (r != 0) { ASSERT(addr >= r->addr); |