summaryrefslogtreecommitdiff
path: root/src/set.c
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2010-06-02 17:55:00 -0700
committerAn-Cheng Huang <ancheng@vyatta.com>2010-06-02 17:55:00 -0700
commit80369a816eea6fd86e3e11bd877673ec4d12d7d2 (patch)
tree84f0762a5d2e977a06c6681f0ca327f220c8b954 /src/set.c
parent1291aa7736110abc2784d969aaccc48b53ad3657 (diff)
downloadvyatta-cfg-80369a816eea6fd86e3e11bd877673ec4d12d7d2.tar.gz
vyatta-cfg-80369a816eea6fd86e3e11bd877673ec4d12d7d2.zip
simplify output init
Diffstat (limited to 'src/set.c')
-rw-r--r--src/set.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/set.c b/src/set.c
index 909cb74..004f25c 100644
--- a/src/set.c
+++ b/src/set.c
@@ -10,8 +10,6 @@
#include "cli_objects.h"
#include "cli_path_utils.h"
-extern char *cli_operation_name;
-
static void handle_defaults(void);
static void make_dir()
@@ -192,9 +190,7 @@ int main(int argc, char **argv)
/* this is needed before calling certain glib functions */
g_type_init();
- cli_operation_name = "Set";
-
- if (initialize_output() == -1) {
+ if (initialize_output("Set") == -1) {
bye("can't initialize output\n");
}