commit | c0076e70b11921273baff770ee60472e14ae3110 | [log] [tgz] |
---|---|---|
author | osdl.org!shemminger <osdl.org!shemminger> | Tue Jun 08 22:51:46 2004 +0000 |
committer | osdl.org!shemminger <osdl.org!shemminger> | Tue Jun 08 22:51:46 2004 +0000 |
tree | 2237633ab6397df9906554a7896db45acbb01b77 | |
parent | 253d67432e328654bf246f62c9a18573629863b0 [diff] [blame] |
Don't force location of tmp (Logical change 1.14)
diff --git a/misc/ifstat.c b/misc/ifstat.c index 67489b9..6e407d4 100644 --- a/misc/ifstat.c +++ b/misc/ifstat.c
@@ -639,7 +639,7 @@ if (getenv("IFSTAT_HISTORY")) snprintf(hist_name, sizeof(hist_name), getenv("IFSTAT_HISTORY")); else - sprintf(hist_name, "/tmp/.ifstat.u%d", getuid()); + sprintf(hist_name, "%s/.ifstat.u%d", P_tmpdir, getuid()); if (reset_history) unlink(hist_name);