]> err.no Git - linux-2.6/blobdiff - drivers/parisc/pdc_stable.c
[NETFILTER] ctnetlink: propagate error instaed of returning -EPERM
[linux-2.6] / drivers / parisc / pdc_stable.c
index 67c8f3b44848d71fd7d35e55d8f484445346d379..273a741797204784fa6be5e89f92a88e8b9e7615 100644 (file)
@@ -536,7 +536,7 @@ pdcs_info_read(struct subsystem *entry, char *buf)
 
        out += sprintf(out, "Memory tested: ");
        if ((result & 0x0F) < 0x0E)
-               out += sprintf(out, "%.3f MB", 0.256*(1<<(result & 0x0F)));
+               out += sprintf(out, "%d kB", (1<<(result & 0x0F))*256);
        else
                out += sprintf(out, "All");
        out += sprintf(out, "\n");