9front - general discussion about 9front
 help / color / mirror / Atom feed
From: Arne Meyer <meyer.arne83@netcologne.de>
To: "9front@9front.org" <9front@9front.org>
Subject: [9front] [PATCH] nusb/ether: fix typo in previous commit
Date: Fri, 7 Jun 2024 23:40:56 +0200 (CEST)	[thread overview]
Message-ID: <1674970250.2896235.1717796456792@comcenter.netcologne.de> (raw)

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

                 reply	other threads:[~2024-06-07 21:42 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1674970250.2896235.1717796456792@comcenter.netcologne.de \
    --to=meyer.arne83@netcologne.de \
    --cc=9front@9front.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).