return 'error' not 0, fixes non-module build
This commit is contained in:
parent
7dc79b6997
commit
5a2b8072e4
|
@ -174,7 +174,7 @@ savagedrm_modcmd(modcmd_t cmd, void *arg)
|
|||
return ENOTTY;
|
||||
}
|
||||
|
||||
return 0;
|
||||
return error;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -168,7 +168,7 @@ sisdrm_modcmd(modcmd_t cmd, void *arg)
|
|||
return ENOTTY;
|
||||
}
|
||||
|
||||
return 0;
|
||||
return error;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -170,7 +170,7 @@ tdfxdrm_modcmd(modcmd_t cmd, void *arg)
|
|||
return ENOTTY;
|
||||
}
|
||||
|
||||
return 0;
|
||||
return error;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue