git: 701bb67bc5f8 - main - ifnet: Rename DrvAPI to "IfAPI"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 17 Jan 2023 20:17:26 UTC
The branch main has been updated by jhibbits: URL: https://cgit.FreeBSD.org/src/commit/?id=701bb67bc5f8df9929a249265aabd96c3143e222 commit 701bb67bc5f8df9929a249265aabd96c3143e222 Author: Justin Hibbits <jhibbits@FreeBSD.org> AuthorDate: 2023-01-17 20:08:43 +0000 Commit: Justin Hibbits <jhibbits@FreeBSD.org> CommitDate: 2023-01-17 20:15:51 +0000 ifnet: Rename DrvAPI to "IfAPI" "DrvAPI" is too generic a name. Make the name more specific as "IfAPI" (InterFace API). Sponsored by: Juniper Networks, Inc. --- tools/ifnet/{convert_drvapi.sh => convert_ifapi.sh} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/ifnet/convert_drvapi.sh b/tools/ifnet/convert_ifapi.sh similarity index 98% rename from tools/ifnet/convert_drvapi.sh rename to tools/ifnet/convert_ifapi.sh index 228456dd244d..ac103dc5702c 100755 --- a/tools/ifnet/convert_drvapi.sh +++ b/tools/ifnet/convert_ifapi.sh @@ -235,7 +235,7 @@ then fi IFS= echo -n "Conversion for $file started, please wait: " -FAIL_PAT="XXX - DRVAPI" +FAIL_PAT="XXX - IFAPI" count=0 while read -r line do @@ -272,7 +272,7 @@ echo "" count=`grep $FAIL_PAT $file.tmp | wc -l` if [ $count -gt 0 ] then - echo "$count lines could not be converted to DRVAPI" + echo "$count lines could not be converted to IFAPI" echo "Look for /* $FAIL_PAT */ in the converted file" fi echo "original $file has been moved to $file.orig"