git: ec92e61f99f6 - main - sockstat: rename sockstat.c to main.c
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 12 Aug 2025 16:40:30 UTC
The branch main has been updated by asomers:
URL: https://cgit.FreeBSD.org/src/commit/?id=ec92e61f99f62e377910a543f2446e0338aa5563
commit ec92e61f99f62e377910a543f2446e0338aa5563
Author: Alan Somers <asomers@FreeBSD.org>
AuthorDate: 2025-08-12 16:18:55 +0000
Commit: Alan Somers <asomers@FreeBSD.org>
CommitDate: 2025-08-12 16:28:27 +0000
sockstat: rename sockstat.c to main.c
In preparation for splitting the file up. This commit is a clean
rename, so git's rename detection will work.
Sponsored by: ConnectWise
PR: https://github.com/freebsd/freebsd-src/pull/1807
---
usr.bin/sockstat/Makefile | 1 +
usr.bin/sockstat/{sockstat.c => main.c} | 0
2 files changed, 1 insertion(+)
diff --git a/usr.bin/sockstat/Makefile b/usr.bin/sockstat/Makefile
index 7254511f21c6..7b71662b7cd4 100644
--- a/usr.bin/sockstat/Makefile
+++ b/usr.bin/sockstat/Makefile
@@ -1,6 +1,7 @@
.include <src.opts.mk>
PROG= sockstat
+SRCS= main.c
LIBADD= jail xo
diff --git a/usr.bin/sockstat/sockstat.c b/usr.bin/sockstat/main.c
similarity index 100%
rename from usr.bin/sockstat/sockstat.c
rename to usr.bin/sockstat/main.c