sbase

suckless unix tools
git clone git://git.2f30.org/sbase
Log | Files | Refs | README | LICENSE

commit 90751ab4ba7b0772c3816cf86783fd3490cf9172
parent edba90934de9277103a87947d7c25d33dbc13189
Author: FRIGN <dev@frign.de>
Date:   Fri,  6 Mar 2015 00:34:43 +0100

Small fix in mkdir.c

Don't initialize p twice.

Diffstat:
Mmkdir.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mkdir.c b/mkdir.c @@ -9,7 +9,7 @@ static int mkdirp(char *path) { - char *p = path; + char *p; for (p = path; *p; p++) { if (*p != '/')