From 08130814f16f30c634979a36ad228da555ce776a Mon Sep 17 00:00:00 2001 From: Michael Larson Date: Thu, 6 Jan 2011 16:52:01 -0800 Subject: use the old interface rather than call unlink directly. (cherry picked from commit 3246881725b219e532464a0191d074e9f02cba23) --- src/cli_new.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cli_new.c') diff --git a/src/cli_new.c b/src/cli_new.c index 2db7996..f746b7f 100644 --- a/src/cli_new.c +++ b/src/cli_new.c @@ -330,7 +330,7 @@ void di(vtw_sorted *srtp) #define LOCK_FILE "/opt/vyatta/config/.lock" #define COMMIT_CMD "/opt/vyatta/sbin/my_commit" -static void +void release_config_lock() { unlink(LOCK_FILE); -- cgit v1.2.3