1
0
mirror of https://github.com/prirun/p50em.git synced 2026-01-13 15:17:32 +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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;
}