1
0
mirror of https://github.com/prirun/p50em.git synced 2026-03-09 03:49:25 +00:00

Update devpnc.h

Remove extra %d in format string
This commit is contained in:
Jim Wilcoxson
2020-04-12 14:49:44 -04:00
committed by GitHub
parent 087fd30e83
commit 1816d42238

View File

@@ -685,7 +685,7 @@ unsigned short pncxmit1(short nodeid) {
return 0;
}
if (nwritten != ntowrite) {
fprintf(stderr, "devpnc: pncxmit1 wrote %d of %d bytes to node %d %d; disconnecting\n", nwritten, ntowrite, nodeid);
fprintf(stderr, "devpnc: pncxmit1 wrote %d of %d bytes to node %d; disconnecting\n", nwritten, ntowrite, nodeid);
pncdisc(nodeid, "partial packet written");
return 0;
}