9front - general discussion about 9front
 help / color / mirror / Atom feed
* [9front] [PATCH] nusb/ether: fix typo in previous commit
@ 2024-06-07 21:40 Arne Meyer
  0 siblings, 0 replies; only message in thread
From: Arne Meyer @ 2024-06-07 21:40 UTC (permalink / raw)
  To: 9front

[-- Attachment #1: Type: text/plain, Size: 23 bytes --]

I had ONE job. Sorry :(

[-- Attachment #2: nusbtypo.diff --]
[-- Type: application/octet-stream, Size: 464 bytes --]

From: Arne Meyer <meyer.arne83@netcologne.de>
Date: Fri, 07 Jun 2024 21:30:15 +0000
Subject: [PATCH] nusb/ether: fix typo in previous commit

---
diff 8f39aeb47681a97389b96d37e9d26b17897ccbbc 1b594354f7d5dcc28fde2bd15d1b79cb6f1cb3da
--- a/sys/src/cmd/nusb/ether/lan78xx.c
+++ b/sys/src/cmd/nusb/ether/lan78xx.c
@@ -252,7 +252,7 @@
 			break;
 		if((hd & Rxerror) == 0){
 			if(n == BLEN(b)){
-				b->wr -= 4;
+				b->wp -= 4;
 				etheriq(b);
 				return 0;
 			}

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-06-07 21:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-07 21:40 [9front] [PATCH] nusb/ether: fix typo in previous commit Arne Meyer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).