aboutsummaryrefslogtreecommitdiff
path: root/examples/virtual-pointer.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/virtual-pointer.c')
-rw-r--r--examples/virtual-pointer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/virtual-pointer.c b/examples/virtual-pointer.c
index 8fd14830..b91768a4 100644
--- a/examples/virtual-pointer.c
+++ b/examples/virtual-pointer.c
@@ -61,7 +61,7 @@ int main(int argc, char *argv[]) {
}
struct wl_display * display = wl_display_connect(NULL);
if (display == NULL) {
- fprintf(stderr, "failed to create display: %m\n");
+ perror("failed to create display");
return EXIT_FAILURE;
}