paths: substitute literal with macro
Signed-off-by: Javier Domingo Cansino <javierdo1@gmail.com>
This commit is contained in:
parent
f00890cd6e
commit
fb6e4604fb
1 changed files with 2 additions and 2 deletions
4
main.c
4
main.c
|
@ -74,8 +74,8 @@ int main(int argc, char **argv)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (stat("/var/run/rpcd", &s))
|
if (stat(RPC_UCI_DIR_PREFIX, &s))
|
||||||
mkdir("/var/run/rpcd", 0700);
|
mkdir(RPC_UCI_DIR_PREFIX, 0700);
|
||||||
|
|
||||||
umask(0077);
|
umask(0077);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue