vx32

Local 9vx git repository for patches.
git clone git://r-36.net/vx32
Log | Files | Refs

commit 86e97ab53472604d02536eba20268fecb6593e24
parent cf85c7c865eb349b7db72980f71ecfdf34a885fa
Author: Jesus Galan Lopez (yiyus) <yiyu.jgl@gmail.com>
Date:   Sat, 11 Sep 2010 21:23:32 +0200

remove duplicated strcmp

Diffstat:
doc/9vx.1 | 2+-
src/9vx/main.c | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/9vx.1 b/doc/9vx.1 @@ -164,7 +164,7 @@ files. kfs file systems are not supported by the included boot/boot .P .I 9vx -is not so stable as native Plan9 systems.PLAN9PCAP +is not so stable as native Plan9 systems. .SH "SEE ALSO" .br Bryan Ford and Russ Cox, diff --git a/src/9vx/main.c b/src/9vx/main.c @@ -192,7 +192,7 @@ main(int argc, char **argv) * bootargs have preference over -r */ fsdev = strcmp(localroot, "-"); - if(strcmp(localroot, "-") == 0){ + if(fsdev){ // remove #Z device from devtab for(int i=0; devtab[i] && devtab[i] != &fsdevtab; i++) if(devtab[i] == &fsdevtab)