Skip to content
Snippets Groups Projects
Verified Commit dd65d0c0 authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Fix missing nul

parent 861602bb
No related branches found
No related tags found
No related merge requests found
...@@ -88,7 +88,7 @@ pub unsafe extern "C" fn getopt_long( ...@@ -88,7 +88,7 @@ pub unsafe extern "C" fn getopt_long(
stdio::fputs(*argv as _, &mut *stdio::stderr); stdio::fputs(*argv as _, &mut *stdio::stderr);
stdio::fputs(": option '--\0".as_ptr() as _, &mut *stdio::stderr); stdio::fputs(": option '--\0".as_ptr() as _, &mut *stdio::stderr);
stdio::fputs(current_arg, &mut *stdio::stderr); stdio::fputs(current_arg, &mut *stdio::stderr);
stdio::fputs("' requires an argument\n".as_ptr() as _, &mut *stdio::stderr); stdio::fputs("' requires an argument\n\0".as_ptr() as _, &mut *stdio::stderr);
return b'?' as c_int; return b'?' as c_int;
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment