Browse Source

Fix lints

pull/16/head
Andrea Ciliberti 2 years ago
parent
commit
c7753eb67a
  1. 2
      src/lib.rs

2
src/lib.rs

@ -51,7 +51,7 @@ pub unsafe extern "C" fn getrandom(
}; };
buflen = buflen.min(maxlen); buflen = buflen.min(maxlen);
ctru_sys::psInit(); let _ = ctru_sys::psInit();
let ret = ctru_sys::PS_GenerateRandomBytes(buf, buflen); let ret = ctru_sys::PS_GenerateRandomBytes(buf, buflen);
// avoid conflicting a real POSIX errno by using a value < 0 // avoid conflicting a real POSIX errno by using a value < 0

Loading…
Cancel
Save