summaryrefslogtreecommitdiff
path: root/util/ipmilan.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2017-01-03 02:33:48 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2017-01-03 02:33:48 +0100
commit96376f0df63c5df8c1380f0dd58b70d33566d48e (patch)
tree5c9eb82320f601e2f7637d36e58dd783d38a5914 /util/ipmilan.c
parent62a52f983e23e7b63b6bd5db6bd1f08a0259002a (diff)
parentf85b8b834b7ff85c80503faa73f237040330087b (diff)
Merge tag 'upstream/3.0.1'
Upstream version 3.0.1
Diffstat (limited to 'util/ipmilan.c')
-rw-r--r--util/ipmilan.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/util/ipmilan.c b/util/ipmilan.c
index acea438..fb5a477 100644
--- a/util/ipmilan.c
+++ b/util/ipmilan.c
@@ -680,8 +680,6 @@ sig_abort(int sig)
{
static int sig_aborting = 0;
int rv;
- // uchar buf_rs[4];
- // uchar *cmd_rs;
if (sig_aborting == 0) {
sig_aborting = 1;
@@ -1057,7 +1055,7 @@ static int _send_lan_cmd(SockType s, uchar *pcmd, int scmd, uchar *presp,
}
clen = hlen + msglen;
if (clen > sizeof(cbuf)) {
- fprintf(fpdbg,"message size %d > buffer size %d\n",clen,sizeof(cbuf));
+ fprintf(fpdbg,"message size %d > buffer size %lu\n",clen,sizeof(cbuf));
return(LAN_ERR_TOO_SHORT);
}
@@ -2242,7 +2240,6 @@ int lan_recv_sol( SOL_RSP_PKT *rsp )
uchar rdata[MAX_BUFFER_SIZE];
int rlen, hlen;
IPMI_HDR *phdr;
- int fdoauth = 1;
uchar *pdata;
int itry;
int flags;
@@ -2250,7 +2247,6 @@ int lan_recv_sol( SOL_RSP_PKT *rsp )
phdr = &ipmi_hdr;
rsp->data = rsdata;
- fdoauth = 0;
hlen = SOL_HLEN;
rlen = 0;
if (fdebuglan)