aboutsummaryrefslogtreecommitdiffstats
path: root/src/netreport.c
diff options
context:
space:
mode:
authorNeal Gompa <ngompa13@gmail.com>2017-12-30 12:19:16 -0500
committerNeal Gompa <ngompa13@gmail.com>2017-12-30 12:22:39 -0500
commitd54da94b818a0cf51352ba1f4cdeb857ebc92218 (patch)
treee5469d8c1a2cee28c5773349ea9544da179f934c /src/netreport.c
parentd465fd1adf0105bf43261e9340bd8f8997f01839 (diff)
parent7fa374712f6da22f97bce84fff2e4cd535e9ef8d (diff)
downloadinitscripts-d54da94b818a0cf51352ba1f4cdeb857ebc92218.tar
initscripts-d54da94b818a0cf51352ba1f4cdeb857ebc92218.tar.gz
initscripts-d54da94b818a0cf51352ba1f4cdeb857ebc92218.tar.bz2
initscripts-d54da94b818a0cf51352ba1f4cdeb857ebc92218.tar.xz
initscripts-d54da94b818a0cf51352ba1f4cdeb857ebc92218.zip
Merge tag '9.78' into distro/mga
Tag as 9.78
Diffstat (limited to 'src/netreport.c')
-rw-r--r--src/netreport.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/netreport.c b/src/netreport.c
index 31bfe2f6..204a77d7 100644
--- a/src/netreport.c
+++ b/src/netreport.c
@@ -34,7 +34,7 @@ usage(void) {
#define DEL 0
int main(int argc, char ** argv) {
int action = ADD;
- /* more than long enough for "/var/run/netreport/<pid>\0" */
+ /* more than long enough for "/run/netreport/<pid>\0" */
char netreport_name[64];
int netreport_file;
@@ -51,7 +51,7 @@ int main(int argc, char ** argv) {
}
snprintf(netreport_name, sizeof(netreport_name),
- "/var/run/netreport/%d", getppid());
+ "/run/netreport/%d", getppid());
if (action == ADD) {
netreport_file = open(netreport_name,
O_EXCL|O_CREAT|O_WRONLY|O_TRUNC|O_NOFOLLOW, 0);