summaryrefslogtreecommitdiff
path: root/serial.c
diff options
context:
space:
mode:
authorKai Harrekilde-Petersen <khp@harrekilde.dk>2019-04-16 11:06:34 -0700
committerGary E. Miller <gem@rellim.com>2019-04-16 11:06:34 -0700
commitbc24e94b1142101c75eab8a0a18da17ead16f5f7 (patch)
tree006ac6c8133d024a259d4f4298e45ca0ee11da01 /serial.c
parentc079a53ffcb661b276635bf42365dd94119f07e6 (diff)
downloadgpsd-bc24e94b1142101c75eab8a0a18da17ead16f5f7.tar.gz
Doc fix to serial.c
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. Signed-off-by: Gary E. Miller <gem@rellim.com>
Diffstat (limited to 'serial.c')
-rw-r--r--serial.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/serial.c b/serial.c
index 51e5e19f..d24c4651 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