diff options
author | Alex Auvolat <alex@adnab.me> | 2015-03-14 13:46:44 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2015-03-14 13:46:44 +0100 |
commit | f811e0126639c3cc14c285f2e2093d0df1b556af (patch) | |
tree | 170ac684774303ddddda1e33bb0bcf3559a0b6e8 /src/kernel/user/process.c | |
parent | dabd2355f355abd7d1d58641f6cc496adb1482d1 (diff) | |
download | kogata-f811e0126639c3cc14c285f2e2093d0df1b556af.tar.gz kogata-f811e0126639c3cc14c285f2e2093d0df1b556af.zip |
Fix a bug: malloc() with wrong size
Diffstat (limited to 'src/kernel/user/process.c')
-rw-r--r-- | src/kernel/user/process.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/kernel/user/process.c b/src/kernel/user/process.c index f56998e..320638d 100644 --- a/src/kernel/user/process.c +++ b/src/kernel/user/process.c @@ -449,6 +449,8 @@ bool proc_add_fs(process_t *p, fs_t *fs, const char* name) { if (hashtbl_find(p->filesystems, n) != 0) goto end; add_ok = hashtbl_add(p->filesystems, n, fs); + + dbg_printf("Bind %s: 0x%p\n", name, fs); end: mutex_unlock(&p->lock); |