diff options
author | Holger Waechtler <devnull@localhost> | 2003-10-15 10:58:07 +0000 |
---|---|---|
committer | Holger Waechtler <devnull@localhost> | 2003-10-15 10:58:07 +0000 |
commit | bc06d6dfc3f92f52f78be6aeac0b4f7222d26dab (patch) | |
tree | 58342d60f3bbf317d0c4edc1e6ae11ade9f3fc33 /linux/drivers/media | |
parent | 6d3c423ad200b561db9278cff3d91774eb6be215 (diff) | |
download | mediapointer-dvb-s2-bc06d6dfc3f92f52f78be6aeac0b4f7222d26dab.tar.gz mediapointer-dvb-s2-bc06d6dfc3f92f52f78be6aeac0b4f7222d26dab.tar.bz2 |
fixed the bug found by this portuguese girl.
Michael: Please test if your code compiles before you commit!
Diffstat (limited to 'linux/drivers/media')
-rw-r--r-- | linux/drivers/media/dvb/dvb-core/dvbdev.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/linux/drivers/media/dvb/dvb-core/dvbdev.c b/linux/drivers/media/dvb/dvb-core/dvbdev.c index cf5850799..bcfb827d4 100644 --- a/linux/drivers/media/dvb/dvb-core/dvbdev.c +++ b/linux/drivers/media/dvb/dvb-core/dvbdev.c @@ -355,8 +355,7 @@ static int __init init_dvbdev(void) devfs_mk_dir("dvb"); #endif #ifndef CONFIG_DVB_DEVFS_ONLY - retval register_chrdev(DVB_MAJOR,"DVB", &dvb_device_fops); - if(0 != retval) { + if ((retval = register_chrdev(DVB_MAJOR,"DVB", &dvb_device_fops))) printk("video_dev: unable to get major %d\n", DVB_MAJOR); #endif return retval; |