diff options
| author | Aleksandr Rybalko <ray@FreeBSD.org> | 2014-07-09 21:55:34 +0000 |
|---|---|---|
| committer | Aleksandr Rybalko <ray@FreeBSD.org> | 2014-07-09 21:55:34 +0000 |
| commit | 79b647995de54b1d1d955e05f9a08d0c17066d91 (patch) | |
| tree | 5ad39a5a74e3a4a12cfbf09395356fc87d82c6ca /sys/dev/fb | |
| parent | fd815c0b8dad8a7d9d74bfc09217943bda0f03a9 (diff) | |
Notes
Diffstat (limited to 'sys/dev/fb')
| -rw-r--r-- | sys/dev/fb/fbd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/fb/fbd.c b/sys/dev/fb/fbd.c index b75ca33516c4..66d0e8dea499 100644 --- a/sys/dev/fb/fbd.c +++ b/sys/dev/fb/fbd.c @@ -246,7 +246,7 @@ fb_probe(struct fb_info *info) return (ENXIO); if (info->fb_write != NULL) { - if (info->fb_write == NULL) { + if (info->fb_read == NULL) { return (EINVAL); } info->fb_flags |= FB_FLAG_NOMMAP; |
