From d275add1a89e77c69ef10bd6ed239b48c693bc42 Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Thu, 6 Aug 2015 11:43:22 +0200 Subject: [PATCH] kernel: fix indention in validname0() --- sys/src/9/port/chan.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/src/9/port/chan.c b/sys/src/9/port/chan.c index e623b9c94..785b449ef 100644 --- a/sys/src/9/port/chan.c +++ b/sys/src/9/port/chan.c @@ -1758,10 +1758,10 @@ validname0(char *aname, int slashok, int dup, uintptr pc) name += chartorune(&r, name); else{ if(isfrog[c]) - if(!slashok || c!='/'){ - snprint(up->genbuf, sizeof(up->genbuf), "%s: %q", Ebadchar, aname); - free(s); - error(up->genbuf); + if(!slashok || c!='/'){ + snprint(up->genbuf, sizeof(up->genbuf), "%s: %q", Ebadchar, aname); + free(s); + error(up->genbuf); } name++; }