diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2017-04-12 13:00:23 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2017-04-12 13:00:23 +0200 |
commit | 4b29807b655e59715d0ca3256484271df63a90f9 (patch) | |
tree | 6dbe5248c9e50750f4b096cdb46ec488798a6740 | |
parent | 0f6e0fd61163a48eb2aa2cd4109bb8773fc9a6af (diff) | |
download | drminfo-4b29807b655e59715d0ca3256484271df63a90f9.tar.gz |
misc tweaks
-rw-r--r-- | drmtest.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |