diff options
author | Bob Gilligan <gilligan@vyatta.com> | 2008-03-17 16:53:30 -0700 |
---|---|---|
committer | Bob Gilligan <gilligan@vyatta.com> | 2008-03-17 16:53:30 -0700 |
commit | 1b22d8e098abf1f2cf4f479dab158c7a93805d11 (patch) | |
tree | 451bb37dc9e6f14a628e791d475d7bd07c28552d /src | |
parent | b5864fdc4462d1f329ebe852754c7877846d8bfa (diff) | |
download | vyatta-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.c | 2 |
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); |