Messages in this thread Patch in this message | | | Date | Fri, 25 Aug 2000 17:15:13 -0300 | From | Arnaldo Carvalho de Melo <> | Subject | [PATCH] efirtc.c: small fix |
| |
Hi,
Please consider applying.
- Arnaldo
--- linux-2.4.0-test7/drivers/char/efirtc.c Thu Aug 24 07:39:55 2000 +++ linux-2.4.0-test7.acme/drivers/char/efirtc.c Fri Aug 25 17:12:37 2000 @@ -249,7 +249,7 @@ convert_from_efi_time(&eft, &wtime); - return copy_to_user((void *)&ewp->time, &wtime, sizeof(struct rtc_time)); + return copy_to_user((void *)&ewp->time, &wtime, sizeof(struct rtc_time)) ? -EFAULT : 0; } return -EINVAL; } - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
| |