Skip to content

Commit 44b80ed

Browse files
committed
Long lines.
1 parent 70185fd commit 44b80ed

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/libcore/os.rs

+3-2
Original file line numberDiff line numberDiff line change
@@ -831,7 +831,7 @@ pub fn last_os_error() -> ~str {
831831

832832
// GNU libc provides a non-compliant version of strerror_r by default
833833
// and requires macros to instead use the POSIX compliant variant.
834-
// So instead we just use __xpg_strerror_r which is always POSIX compliant
834+
// So we just use __xpg_strerror_r which is always POSIX compliant
835835
#[cfg(target_os = "linux")]
836836
fn strerror_r(errnum: c_int, buf: *c_char, buflen: size_t) -> c_int {
837837
#[nolink]
@@ -884,7 +884,8 @@ pub fn last_os_error() -> ~str {
884884
let res = FormatMessageA(FORMAT_MESSAGE_FROM_SYSTEM |
885885
FORMAT_MESSAGE_IGNORE_INSERTS,
886886
ptr::mut_null(), err, langId,
887-
&mut buf[0], TMPBUF_SZ as DWORD, ptr::null());
887+
&mut buf[0], TMPBUF_SZ as DWORD,
888+
ptr::null());
888889
if res == 0 {
889890
die!(fmt!("[%?] FormatMessage failure", errno()));
890891
}

0 commit comments

Comments
 (0)