summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);