summaryrefslogtreecommitdiff
path: root/examples/rectangle.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/rectangle.c')
-rw-r--r--examples/rectangle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/rectangle.c b/examples/rectangle.c
index 38def2e..67d3a50 100644
--- a/examples/rectangle.c
+++ b/examples/rectangle.c
@@ -4,7 +4,7 @@
int main(void)
{
fbgl_t buffer;
- if (fbgl_init("/dev/fb0", &buffer) == -1) {
+ if (fbgl_init(NULL, &buffer) == -1) {
fprintf(stdout, "Error: could not open framebuffer device\n");
return -1;
}