Date: Sun, 10 Sep 2006 19:49:08 +0200 From: Matthias Lederhofer <matled@gmx.net> To: freebsd-geom@freebsd.org Subject: Re: [PATCH] geli: command to set the boot flag Message-ID: <20060910174908.GA26715@moooo.ath.cx> In-Reply-To: <20060910173643.GA22815@moooo.ath.cx> References: <20060910173643.GA22815@moooo.ath.cx>
next in thread | previous in thread | raw e-mail | index | archive | help
Matthias Lederhofer <matled@gmx.net> wrote: > diff --git a/geom_eli.c b/geom_eli.c This is for src/sbin/geam/class/eli. And here is another patch for a comment I found while reading the source, probably this was copied 'n' pasted. :) --- geom_eli.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/geom_eli.c b/geom_eli.c index f90e974..489e212 100644 --- a/geom_eli.c +++ b/geom_eli.c @@ -1058,7 +1058,7 @@ eli_restore(struct gctl_req *req) gctl_error(req, "MD5 hash mismatch: not a geli backup file?"); goto out; } - /* Read metadata from the provider. */ + /* Write metadata to the provider. */ if (pwrite(provfd, sector, secsize, mediasize - secsize) != (ssize_t)secsize) { gctl_error(req, "Cannot write metadata: %s.", strerror(errno)); -- 1.4.1
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060910174908.GA26715>