diff options
author | phk <phk@FreeBSD.org> | 2002-10-23 20:02:33 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2002-10-23 20:02:33 +0000 |
commit | c17cb9154e1a582900dd2490500b470563329312 (patch) | |
tree | 66cb94d3b1f1f2cd7c7377ed999c7ea317e63df5 /lib/libdisk/chunk.c | |
parent | 3c688df1144b5bdaff8d7a1bb0a2b070aeb58570 (diff) | |
download | FreeBSD-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.c | 2 |
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; |