diff options
| author | Lexi Winter <ivy@FreeBSD.org> | 2025-12-01 03:19:41 +0000 |
|---|---|---|
| committer | Lexi Winter <ivy@FreeBSD.org> | 2025-12-01 03:19:41 +0000 |
| commit | 2e80774d0b20d167bc0a9e2b63dafbfb171c0d22 (patch) | |
| tree | 25f0138e1af8902b92dacc8cce09b267447c17db /net/wireshark/files/patch-writecap_pcapio.c | |
| parent | f85f2b2d6e5b7ed869376eb4b180c3a74a5c5da9 (diff) | |
| parent | 1a30da80670973368b399f2b01fe9c04b91a1273 (diff) | |
Merge remote-tracking branch 'freebsd/main' into lf/mainlf/main
Diffstat (limited to 'net/wireshark/files/patch-writecap_pcapio.c')
| -rw-r--r-- | net/wireshark/files/patch-writecap_pcapio.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/net/wireshark/files/patch-writecap_pcapio.c b/net/wireshark/files/patch-writecap_pcapio.c new file mode 100644 index 000000000000..f4d9f28a5f78 --- /dev/null +++ b/net/wireshark/files/patch-writecap_pcapio.c @@ -0,0 +1,11 @@ +--- writecap/pcapio.c.orig 2025-10-10 21:38:23 UTC ++++ writecap/pcapio.c +@@ -438,7 +438,7 @@ write_to_file(pcapio_writer* pfile, const uint8_t* dat + default: + nwritten = fwrite(data, data_length, 1, pfile->fh); + if (nwritten != 1) { +- if (ferror(pfile->fh)) { ++ if (ferror((FILE*) pfile->fh)) { + *err = errno; + } else { + *err = WTAP_ERR_SHORT_WRITE; |
