summaryrefslogtreecommitdiffstats
path: root/lib/libdisk/chunk.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2002-10-23 20:02:33 +0000
committerphk <phk@FreeBSD.org>2002-10-23 20:02:33 +0000
commitc17cb9154e1a582900dd2490500b470563329312 (patch)
tree66cb94d3b1f1f2cd7c7377ed999c7ea317e63df5 /lib/libdisk/chunk.c
parent3c688df1144b5bdaff8d7a1bb0a2b070aeb58570 (diff)
downloadFreeBSD-src-c17cb9154e1a582900dd2490500b470563329312.zip
FreeBSD-src-c17cb9154e1a582900dd2490500b470563329312.tar.gz
Remove unnecessary ioctls tickling kernel side to realize that we fiddled
with the disk. GEOM will automatically retaste when we closet he filedesc.
Diffstat (limited to 'lib/libdisk/chunk.c')
-rw-r--r--lib/libdisk/chunk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libdisk/chunk.c b/lib/libdisk/chunk.c
index 2b4854d..cf93722 100644
--- a/lib/libdisk/chunk.c
+++ b/lib/libdisk/chunk.c
@@ -362,7 +362,7 @@ Delete_Chunk2(struct disk *d, struct chunk *c, int rflags)
{
struct chunk *c1=0, *c2, *c3;
chunk_e type = c->type;
- long offset = c->offset;
+ u_long offset = c->offset;
if(type == whole)
return 1;
OpenPOWER on IntegriCloud