]> mj.ucw.cz Git - libucw.git/blobdiff - lib/fb-param.c
Branched off v3.12.1.
[libucw.git] / lib / fb-param.c
index 3958476948963c9d9ea7ecb0a2b2c1ff48e2251a..854ba78a78632e950ea6a5efe518a16a2d96ccaf 100644 (file)
@@ -27,7 +27,7 @@ fbpar_cf_commit(struct fb_params *p UNUSED)
 {
 #ifndef CONFIG_UCW_THREADS
   if (p->type == FB_DIRECT)
-    p->type = FB_STD;
+    return "Direct I/O is supported only with CONFIG_UCW_THREADS";
 #endif
   return NULL;
 }