return 'error' not 0, fixes non-module build

This commit is contained in:
jmcneill 2011-08-28 20:37:06 +00:00
parent 7dc79b6997
commit 5a2b8072e4
3 changed files with 3 additions and 3 deletions

View File

@ -174,7 +174,7 @@ savagedrm_modcmd(modcmd_t cmd, void *arg)
return ENOTTY;
}
return 0;
return error;
}
#endif

View File

@ -168,7 +168,7 @@ sisdrm_modcmd(modcmd_t cmd, void *arg)
return ENOTTY;
}
return 0;
return error;
}
#endif

View File

@ -170,7 +170,7 @@ tdfxdrm_modcmd(modcmd_t cmd, void *arg)
return ENOTTY;
}
return 0;
return error;
}
#endif