summaryrefslogtreecommitdiff
path: root/tests/drmstat.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/drmstat.c')
-rw-r--r--tests/drmstat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/drmstat.c b/tests/drmstat.c
index 8fe6f707..a96a38b2 100644
--- a/tests/drmstat.c
+++ b/tests/drmstat.c
@@ -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;
}