GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — IoUring: Use correct errno value in exception (#16500) · netty/netty@48162ce

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • transport-native-io_uring/src/main/c
    • netty_io_uring_native.c
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎transport-native-io_uring/src/main/c/netty_io_uring_native.c‎

Copy file name to clipboardExpand all lines: transport-native-io_uring/src/main/c/netty_io_uring_native.c
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ static jlongArray netty_io_uring_setup(JNIEnv *env, jclass clazz, jint entries,
353353
if (ret != 0) {
354354
// Close ring fd before return.
355355
close(ring_fd);
356-
netty_unix_errors_throwRuntimeExceptionErrorNo(env, "failed to mmap io_uring ring buffer: ", ret);
356+
netty_unix_errors_throwRuntimeExceptionErrorNo(env, "failed to mmap io_uring ring buffer: ", -ret);
357357
return NULL;
358358
}
359359

0 commit comments

Comments
0 (0)
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.