summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-rw-r--r--utils/kmsblank.cpp2
-rw-r--r--utils/kmsprint.cpp2
-rw-r--r--utils/kmstest.cpp2
-rw-r--r--utils/kmsview.cpp2
4 files changed, 4 insertions, 4 deletions
diff --git a/utils/kmsblank.cpp b/utils/kmsblank.cpp
index 0b51810..286c7f7 100644
--- a/utils/kmsblank.cpp
+++ b/utils/kmsblank.cpp
@@ -27,7 +27,7 @@ static void usage()
int main(int argc, char **argv)
{
- string dev_path = "/dev/dri/card0";
+ string dev_path;
vector<string> conn_strs;
uint32_t time = 0;
diff --git a/utils/kmsprint.cpp b/utils/kmsprint.cpp
index 19cf8b7..9f550c7 100644
--- a/utils/kmsprint.cpp
+++ b/utils/kmsprint.cpp
@@ -497,7 +497,7 @@ static void usage()
int main(int argc, char **argv)
{
- string dev_path = "/dev/dri/card0";
+ string dev_path;
OptionSet optionset = {
Option("|device=", [&dev_path](string s)
diff --git a/utils/kmstest.cpp b/utils/kmstest.cpp
index 37f9e0f..8144117 100644
--- a/utils/kmstest.cpp
+++ b/utils/kmstest.cpp
@@ -444,7 +444,7 @@ struct Arg
string arg;
};
-static string s_device_path = "/dev/dri/card0";
+static string s_device_path;
static vector<Arg> parse_cmdline(int argc, char **argv)
{
diff --git a/utils/kmsview.cpp b/utils/kmsview.cpp
index 04d005d..eea9dde 100644
--- a/utils/kmsview.cpp
+++ b/utils/kmsview.cpp
@@ -38,7 +38,7 @@ static void usage()
int main(int argc, char** argv)
{
uint32_t time = 0;
- string dev_path = "/dev/dri/card0";
+ string dev_path;
string conn_name;
OptionSet optionset = {