* luci/libs/uvl: fix an error message in luci.uvl.read_scheme()
authorJo-Philipp Wich <jow@openwrt.org>
Fri, 5 Sep 2008 16:49:17 +0000 (16:49 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Fri, 5 Sep 2008 16:49:17 +0000 (16:49 +0000)
libs/uvl/luasrc/uvl.lua

index 1b430af10c358fed993ba5d1ccaf1ac37af4497c..aada2e6c231a890f6799be801ff2a54cb5beb3eb 100644 (file)
@@ -390,7 +390,7 @@ function UVL.read_scheme( self, scheme, alias )
                        self.packages[scheme] = sc()
                        return true
                else
-                       return false, so:error(ERR.SME_READ(so,file))
+                       return false, so:error(ERR.SME_READ(so,bc))
                end      
        end
 end