projects
/
oweals
/
rpcd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f00890c
)
paths: substitute literal with macro
author
Javier Domingo Cansino
<javierdo1@gmail.com>
Wed, 11 Nov 2015 13:10:11 +0000
(13:10 +0000)
committer
John Crispin
<blogic@openwrt.org>
Fri, 20 Nov 2015 17:00:28 +0000
(18:00 +0100)
Signed-off-by: Javier Domingo Cansino <javierdo1@gmail.com>
main.c
patch
|
blob
|
history
diff --git
a/main.c
b/main.c
index 3b6841baca861bd4772feb9f825fe54231098f26..7c161b5e5a5347820c5d4d744effcf1cae9d4906 100644
(file)
--- 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);