diff options
author | Michael I. Bushnell <mib@gnu.org> | 1995-03-07 20:26:55 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1995-03-07 20:26:55 +0000 |
commit | d84cd2a815d42475ec62dca2193dc7f4c4a448a3 (patch) | |
tree | 6d47f6f4d77b271aef8fdbd54e7b3b0d96267b96 /libdiskfs/rdwr-internal.c | |
parent | e1289ade25cd126c982a0edb29fbcdab88d793ad (diff) |
(_diskfs_rdwr_internal): Use assert_perror instead of assert where
appropriate.
Diffstat (limited to 'libdiskfs/rdwr-internal.c')
-rw-r--r-- | libdiskfs/rdwr-internal.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libdiskfs/rdwr-internal.c b/libdiskfs/rdwr-internal.c index 914d96a0..25d1dc59 100644 --- a/libdiskfs/rdwr-internal.c +++ b/libdiskfs/rdwr-internal.c @@ -1,5 +1,5 @@ /* - Copyright (C) 1994 Free Software Foundation + Copyright (C) 1994, 1995 Free Software Foundation This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as @@ -62,7 +62,7 @@ _diskfs_rdwr_internal (struct node *np, err = vm_map (mach_task_self (), (u_int *)&window, 8 * __vm_page_size, 0, 1, memobj, winoff, 0, VM_PROT_READ|VM_PROT_WRITE, VM_PROT_READ|VM_PROT_WRITE, VM_INHERIT_NONE); - assert (!err); + assert_perror (err); diskfs_register_memory_fault_area (diskfs_get_filemap_pager_struct (np), winoff, window, 8 * __vm_page_size); |