FreeBSD Bugzilla – Attachment 197324 Details for
Bug 231567
[patch] led.c, set_led() always succeed even when it fails
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Return the proper error status to the caller
led-set-error-status.diff (text/plain), 305 bytes, created by
Bertrand Petit
on 2018-09-21 23:20:33 UTC
(
hide
)
Description:
Return the proper error status to the caller
Filename:
MIME Type:
Creator:
Bertrand Petit
Created:
2018-09-21 23:20:33 UTC
Size:
305 bytes
patch
obsolete
>diff -r 023dee354406 sys/dev/led/led.c >--- a/sys/dev/led/led.c Tue Aug 21 09:03:54 2018 +0200 >+++ b/sys/dev/led/led.c Sat Sep 22 01:08:39 2018 +0200 >@@ -259,7 +259,7 @@ > mtx_unlock(&led_mtx); > if (sb != NULL) > sbuf_delete(sb); >- return (0); >+ return (error); > } > > static struct cdevsw led_cdevsw = {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 231567
: 197324