summaryrefslogtreecommitdiff
path: root/util/ipmiutil.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2018-07-11 07:36:21 +0200
committerJörg Frings-Fürst <debian@jff.email>2018-07-11 07:36:21 +0200
commit341aee5e3e3625173e4b684cc4166e60f6eb147f (patch)
tree133bb01bc02539bb98f98bfa6807dc084b995bec /util/ipmiutil.c
parent631fa5250443f5441549bf3184830bc34b0c042e (diff)
parent788a8d509d66a15ecb1810599885792a1acaaeb9 (diff)
Merge branch 'release/debian/3.1.1-1'debian/3.1.1-1
Diffstat (limited to 'util/ipmiutil.c')
-rw-r--r--util/ipmiutil.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/util/ipmiutil.c b/util/ipmiutil.c
index 3d7d91d..eea67d0 100644
--- a/util/ipmiutil.c
+++ b/util/ipmiutil.c
@@ -57,7 +57,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "ipmiutil.h"
static char *progname = "ipmiutil";
-static char *progver = "3.08";
+char *progver = "3.11";
// static char fdebug = 0;
/*int ipmiutil(int argc, char **argv); */
@@ -136,8 +136,8 @@ main(int argc, char **argv)
int i;
char *psubcmd = "";
- printf("%s ver %s\n", progname,progver);
if (argc < 2) {
+ printf("%s ver %s\n", progname,progver);
show_usage();
ret = ERR_USAGE;
goto do_exit;
@@ -168,7 +168,7 @@ main(int argc, char **argv)
for (i = 0; i < NSUBCMDS; i++)
{
if (strcmp(argv[1],subcmds[i].tag) == 0) {
- psubcmd = argv[1];
+ psubcmd = argv[1];
argc--;
argv++;
ret = subcmds[i].rtn(argc,argv);