gpsd-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gpsd-users] Doc fix to serial.c


From: Kai Harrekilde-Petersen
Subject: [gpsd-users] Doc fix to serial.c
Date: Tue, 16 Apr 2019 19:48:43 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.5.3

Hi Gary,

I was messing around in serial.c and noticed that the link to Linus' git repo (for devices.txt) was stale.
The below 1-liner updates the link to a valid one.

diff --git a/serial.c b/serial.c
index 51e5e19f..49b008b2 100644
--- a/serial.c
+++ b/serial.c
@@ -64,7 +64,7 @@ static sourcetype_t gpsd_classify(const char *path)
 #ifdef __linux__
        /* Linux major device numbers live here
         *
-        * https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/devices.txt +        * https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/admin-guide/devices.txt
         *
         * Note: This code works because Linux major device numbers are
         * stable and architecture-independent.  It is *not* a good model



Best regards,

Kai



reply via email to

[Prev in Thread] Current Thread [Next in Thread]