summaryrefslogtreecommitdiff
path: root/ufs
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1994-11-08 05:04:32 +0000
committerRoland McGrath <roland@gnu.org>1994-11-08 05:04:32 +0000
commit88129f99b2e25f38cb7be3f8f50494842b853309 (patch)
treeda3d08b6a22e20b7186377ffab9c452ff2e6bbab /ufs
parent7f849d2f7fb1b61d18dcfe7e3167b54b27a511af (diff)
entered into RCS
Diffstat (limited to 'ufs')
-rw-r--r--ufs/pager.c2
-rw-r--r--ufs/ufs.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/ufs/pager.c b/ufs/pager.c
index 73f1b5d7..d41b792d 100644
--- a/ufs/pager.c
+++ b/ufs/pager.c
@@ -152,7 +152,7 @@ pager_write_page (struct user_pager_info *pager,
else
{
printf ("Attempt to write unallocated disk\n.");
- printf ("Object %#x\tOffset %#x\n", pager, page);
+ printf ("Object %p\tOffset %#x\n", pager, page);
fflush (stdout);
err = 0; /* unallocated disk;
error would be pointless */
diff --git a/ufs/ufs.h b/ufs/ufs.h
index 3301e703..a7c9a891 100644
--- a/ufs/ufs.h
+++ b/ufs/ufs.h
@@ -270,6 +270,7 @@ error_t dev_read_sync (daddr_t addr, vm_address_t *data, long len);
/* From hyper.c: */
void get_hypermetadata (void);
+void copy_sblock (void);
/* From inode.c: */
error_t iget (ino_t ino, struct node **NP);