From fb6e4604fb689d1918db3804a766b865cfaacbef Mon Sep 17 00:00:00 2001 From: Javier Domingo Cansino Date: Wed, 11 Nov 2015 13:10:11 +0000 Subject: [PATCH] paths: substitute literal with macro Signed-off-by: Javier Domingo Cansino --- main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.c b/main.c index 3b6841b..7c161b5 100644 --- a/main.c +++ b/main.c @@ -74,8 +74,8 @@ int main(int argc, char **argv) } } - if (stat("/var/run/rpcd", &s)) - mkdir("/var/run/rpcd", 0700); + if (stat(RPC_UCI_DIR_PREFIX, &s)) + mkdir(RPC_UCI_DIR_PREFIX, 0700); umask(0077);