From c0076e70b11921273baff770ee60472e14ae3110 Mon Sep 17 00:00:00 2001 From: "osdl.org!shemminger" Date: Tue, 8 Jun 2004 22:51:46 +0000 Subject: [PATCH] Don't force location of tmp (Logical change 1.14) --- misc/ifstat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 @@ int main(int argc, char *argv[]) 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); -- 2.39.2