Merged mga branch with trunk
[platform/upstream/libdrm.git] / tests / drmstat.c
index 8fe6f70..a96a38b 100644 (file)
@@ -187,7 +187,7 @@ int main(int argc, char **argv)
        case 'b':
            count   = strtoul(optarg, &pt, 0);
            size    = strtoul(pt+1, NULL, 0);
-           if ((r = drmAddBufs(fd, count, size, 0)) < 0) {
+           if ((r = drmAddBufs(fd, count, size, 0, 65536)) < 0) {
                drmError(r, argv[0]);
                return 1;
            }