Date: Sat, 16 Sep 2006 12:47:20 +0200 From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: Matthias Lederhofer <matled@gmx.net> Cc: freebsd-geom@freebsd.org Subject: Re: [PATCH] geli: command to set the boot flag Message-ID: <20060916104720.GE2874@garage.freebsd.pl> In-Reply-To: <20060910174908.GA26715@moooo.ath.cx> References: <20060910173643.GA22815@moooo.ath.cx> <20060910174908.GA26715@moooo.ath.cx>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
On Sun, Sep 10, 2006 at 07:49:08PM +0200, Matthias Lederhofer wrote:
> 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));
Committed, thanks.
--
Pawel Jakub Dawidek http://www.wheel.pl
pjd@FreeBSD.org http://www.FreeBSD.org
FreeBSD committer Am I Evil? Yes, I Am!
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (FreeBSD)
iD8DBQFFC9Y4ForvXbEpPzQRAvjXAJsGFdJtXVXso8hPiwQ5bs0YpkVh5QCeLdbv
gyhFpm/KFsTXJCRIMAx4Id8=
=LSDL
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060916104720.GE2874>
