summaryrefslogtreecommitdiff
blob: 3ebcdaaa4072d28d67122e6ba23f0b676114532a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- a/dump1090.c
+++ b/dump1090.c
@@ -2233,8 +2233,8 @@
         struct stat sbuf;
         int fd = -1;
 
-        if (stat("gmap.html",&sbuf) != -1 &&
-            (fd = open("gmap.html",O_RDONLY)) != -1)
+        if (stat("/usr/share/dump1090/gmap.html",&sbuf) != -1 &&
+            (fd = open("/usr/share/dump1090/gmap.html",O_RDONLY)) != -1)
         {
             content = malloc(sbuf.st_size);
             if (read(fd,content,sbuf.st_size) == -1) {