summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBob Gilligan <gilligan@vyatta.com>2008-03-17 16:53:30 -0700
committerBob Gilligan <gilligan@vyatta.com>2008-03-17 16:53:30 -0700
commit1b22d8e098abf1f2cf4f479dab158c7a93805d11 (patch)
tree451bb37dc9e6f14a628e791d475d7bd07c28552d /src
parentb5864fdc4462d1f329ebe852754c7877846d8bfa (diff)
downloadvyatta-cfg-1b22d8e098abf1f2cf4f479dab158c7a93805d11.tar.gz
vyatta-cfg-1b22d8e098abf1f2cf4f479dab158c7a93805d11.zip
Bugfix: 2885
Place the "changes only" directory that is used by the configuration subsystem in its union mount into /tmp. We see kernel panics in unionfs at umount time in some cases when the "changes only" directory is located in a tmpfs filesystem.
Diffstat (limited to 'src')
-rw-r--r--src/commit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commit.c b/src/commit.c
index c3219e5..980a98b 100644
--- a/src/commit.c
+++ b/src/commit.c
@@ -1359,7 +1359,7 @@ static int fin_commit(boolean ok)
system(command);
my_free(command);
- command = my_malloc(strlen(format3) + c_len, "");
+ command = my_malloc(strlen(format3) + t_len, "");
sprintf(command, format3, get_tmpp());
system(command);
my_free(command);