Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 08 Sep 2004 15:25:24 +0200
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        Allan Fields <bsd@afields.ca>
Cc:        freebsd-geom@freebsd.org
Subject:   Re: Can't reattach gbde slice [testing] 
Message-ID:  <41403.1094649924@critter.freebsd.dk>
In-Reply-To: Your message of "Wed, 08 Sep 2004 06:52:34 EDT." <20040908105234.GJ34157@afields.ca> 

next in thread | previous in thread | raw e-mail | index | archive | help

Here is one bugfix, but I'm not 100% sure it is what bites
you, but please test anyway.

Poul-Henning

Index: gbde.c
===================================================================
RCS file: /home/ncvs/src/sbin/gbde/gbde.c,v
retrieving revision 1.24
diff -u -r1.24 gbde.c
--- gbde.c	6 Sep 2004 13:42:09 -0000	1.24
+++ gbde.c	8 Sep 2004 13:20:30 -0000
@@ -476,7 +476,7 @@
 static int
 sorthelp(const void *a, const void *b)
 {
-	const off_t *oa, *ob;
+	const uint64_t *oa, *ob;
 
 	oa = a;
 	ob = b;
-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41403.1094649924>