Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F103023804
D40077.id121899.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D40077.id121899.diff
View Options
diff --git a/usr.sbin/fwget/fwget.sh b/usr.sbin/fwget/fwget.sh
--- a/usr.sbin/fwget/fwget.sh
+++ b/usr.sbin/fwget/fwget.sh
@@ -44,14 +44,9 @@
exit 1
}
-log_start()
-{
- exec 3>&1 4>&2
-}
-
log()
{
- echo $@ 1>&3
+ echo $@
}
log_verbose()
@@ -60,7 +55,7 @@
return
fi
- echo $@ 1>&3
+ echo $@
}
addpkg()
@@ -82,8 +77,6 @@
DRY_RUN=n
VERBOSE=n
-log_start
-
while [ $# -gt 0 ]; do
case $1 in
-n)
diff --git a/usr.sbin/fwget/pci/pci b/usr.sbin/fwget/pci/pci
--- a/usr.sbin/fwget/pci/pci
+++ b/usr.sbin/fwget/pci/pci
@@ -94,13 +94,13 @@
fi
device=$(pci_get_device "${fulldevice}")
- log_verbose "Trying to match device ${device} in class ${class} and vendor ${vendor} with pci_${class}_${vendor}" 1>&3
+ log_verbose "Trying to match device ${device} in class ${class} and vendor ${vendor} with pci_${class}_${vendor}"
if [ ! -f ${LIBEXEC_PATH}/pci_${class}_${vendor} ]; then
class=$(pci_fixup_class ${class} ${vendor})
if [ -z "${class}" ]; then
continue
fi
- log_verbose "Trying to match device ${device} in fixed up class ${class} and vendor ${vendor} with pci_${class}_${vendor}" 1>&3
+ log_verbose "Trying to match device ${device} in fixed up class ${class} and vendor ${vendor} with pci_${class}_${vendor}"
if [ ! -f ${LIBEXEC_PATH}/pci_${class}_${vendor} ]; then
continue
fi
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Nov 20, 11:10 PM (21 h, 49 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14749366
Default Alt Text
D40077.id121899.diff (1 KB)
Attached To
Mode
D40077: fwget: remove logging redirects
Attached
Detach File
Event Timeline
Log In to Comment