Procházet zdrojové kódy

Staging: meilhaus: fix build warnings

This fixes some build warnings in the meilhaus driver.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Greg Kroah-Hartman před 16 roky
rodič
revize
01c2c2348f
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      drivers/staging/meilhaus/memain.c

+ 1 - 1
drivers/staging/meilhaus/memain.c

@@ -520,7 +520,7 @@ static int __devinit me_probe_pci(struct pci_dev *dev,
 
 	if ((constructor =
 	     (me_pci_constructor_t) symbol_get(constructor_name)) == NULL) {
-		if (request_module(module_name)) {
+		if (request_module("%s", module_name)) {
 			PERROR("Error while request for module %s.\n",
 			       module_name);
 			return -ENODEV;