From 688c612878388f7c8c9ccba0e1a4a2266b47eece Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A8=8B=E5=BA=8F=E5=91=98=E5=B0=8F=E7=8E=8B=28troy=29?= Date: Wed, 1 Dec 2021 16:41:00 +0800 Subject: [PATCH] Fix misspelled ../oceanbase/tools/ob_error/src/ob_error.cpp #636 (#659) * #557 * #557 * Fix typo #636 * rollback for other issue --- tools/ob_error/src/ob_error.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/ob_error/src/ob_error.cpp b/tools/ob_error/src/ob_error.cpp index 186826058c..09e10e87e1 100644 --- a/tools/ob_error/src/ob_error.cpp +++ b/tools/ob_error/src/ob_error.cpp @@ -595,7 +595,7 @@ bool parse_param(int args, char* argv[]) extern char* optarg; extern int opterr; - opterr = 0; // getpot_long will not print error messages + opterr = 0; // getopt_long will not print error messages int option_index = 0; static struct option long_options[] = { {"help", 0, 0, 'h'}, {"version", 0, 0, 'V'}, {"argument", 1, 0, 'a'}, {0, 0, 0, 0}}; -- GitLab