bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 1/8] libdiskfs: fix /servers/exec lookup


From: Samuel Thibault
Subject: Re: [PATCH 1/8] libdiskfs: fix /servers/exec lookup
Date: Thu, 4 Sep 2014 00:48:21 +0200
User-agent: Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30)

Justus Winter, le Wed 03 Sep 2014 14:33:09 +0200, a écrit :
> * libdiskfs/boot-start.c (diskfs_start_bootstrap): Pass retry_name to
> dir_lookup, which is later checked to be the empty string.

Ack.

> ---
>  libdiskfs/boot-start.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/libdiskfs/boot-start.c b/libdiskfs/boot-start.c
> index 4cc7bb8..a590975 100644
> --- a/libdiskfs/boot-start.c
> +++ b/libdiskfs/boot-start.c
> @@ -178,7 +178,7 @@ diskfs_start_bootstrap ()
>        /* Attempt to set the active translator for the exec server so that
>        filesystems other than the bootstrap can find it.  */
>        err = dir_lookup (root_pt, _SERVERS_EXEC, O_NOTRANS, 0,
> -                     &retry, pathbuf, &execnode);
> +                     &retry, retry_name, &execnode);
>        if (err)
>       {
>         error (0, err, "cannot set translator on %s", _SERVERS_EXEC);
> -- 
> 2.1.0
> 

-- 
Samuel
quit   When the quit statement is read, the  bc  processor
       is  terminated, regardless of where the quit state-
       ment is found.  For example, "if  (0  ==  1)  quit"
       will cause bc to terminate.
(Seen in the manpage for "bc". Note the "if" statement's logic)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]