[PATCH] namespaces: utsname: use init_utsname when appropriate
[deliverable/linux.git] / drivers / usb / core / hcd.c
index 37f9f5e7425d1b5e1a518302fa36cad686989c25..e658089f7b504d9a6ba90d42bdff3abc57b150f3 100644 (file)
@@ -318,8 +318,8 @@ static int rh_string (
 
        // id 3 == vendor description
        } else if (id == 3) {
-               snprintf (buf, sizeof buf, "%s %s %s", system_utsname.sysname,
-                       system_utsname.release, hcd->driver->description);
+               snprintf (buf, sizeof buf, "%s %s %s", init_utsname()->sysname,
+                       init_utsname()->release, hcd->driver->description);
 
        // unsupported IDs --> "protocol stall"
        } else
This page took 0.024608 seconds and 5 git commands to generate.