summaryrefslogtreecommitdiff
path: root/ufs
diff options
context:
space:
mode:
Diffstat (limited to 'ufs')
-rw-r--r--ufs/hyper.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ufs/hyper.c b/ufs/hyper.c
index e63e9eff..a5d05bc8 100644
--- a/ufs/hyper.c
+++ b/ufs/hyper.c
@@ -25,8 +25,6 @@ static int oldformat = 0;
void
get_hypermetadata (void)
{
- error_t err;
-
sblock = malloc (SBSIZE);
assert (!diskfs_catch_exception ());
@@ -118,6 +116,8 @@ diskfs_set_hypermetadata (int wait, int clean)
void
copy_sblock ()
{
+ int clean = 1; /* XXX wrong... */
+
assert (!diskfs_catch_exception ());
spin_lock (&alloclock);