summaryrefslogtreecommitdiff
path: root/util/ipmiutil.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2018-05-01 10:13:19 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2018-05-01 10:13:19 +0200
commita1cf5d4924bb115d7de05e0bc080f88e04d24d29 (patch)
tree01484827e16d2c8e42a0fe32a561d1f9fd4a5472 /util/ipmiutil.c
parent7a765f655540e4e254f4aaaf6ea3326a57d76e59 (diff)
parentfc806628dbeecd34f41b2f6d04290631dca3955e (diff)
Update upstream source from tag 'upstream/3.1.0'
Update to upstream version '3.1.0' with Debian dir 7f3343aa24cd6de6310e636ce7444692bec74f2a
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..e2a23d4 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.10";
// 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);