aboutsummaryrefslogtreecommitdiffstats
path: root/drmtest.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2017-04-12 13:00:23 +0200
committerGerd Hoffmann <kraxel@redhat.com>2017-04-12 13:00:23 +0200
commit4b29807b655e59715d0ca3256484271df63a90f9 (patch)
tree6dbe5248c9e50750f4b096cdb46ec488798a6740 /drmtest.c
parent0f6e0fd61163a48eb2aa2cd4109bb8773fc9a6af (diff)
downloaddrminfo-4b29807b655e59715d0ca3256484271df63a90f9.tar.gz
misc tweaks
Diffstat (limited to 'drmtest.c')
-rw-r--r--drmtest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drmtest.c b/drmtest.c
index bbe733f..7fd080e 100644
--- a/drmtest.c
+++ b/drmtest.c
@@ -80,7 +80,7 @@ static void drm_init_dev(int devnr, const char *output,
if (need_master) {
rc = drmSetMaster(fd);
if (rc < 0) {
- fprintf(stderr, "drmSetMaster() failed: %s (X11 running?)\n",
+ fprintf(stderr, "drmSetMaster() failed: %s\n",
strerror(errno));
exit(1);
}
@@ -375,7 +375,7 @@ static void usage(FILE *fp)
int main(int argc, char **argv)
{
int card = 0;
- int secs = 10;
+ int secs = 3;
bool gl = false;
char *output = NULL;
int c;