aboutsummaryrefslogtreecommitdiff
path: root/cddl/usr.sbin
diff options
context:
space:
mode:
authorDevin Teske <dteske@FreeBSD.org>2018-08-11 06:13:11 +0000
committerDevin Teske <dteske@FreeBSD.org>2018-08-11 06:13:11 +0000
commit2282756519d9337dec783509a432fd6ddfd06683 (patch)
treeafd31b8615bc2e191c6512e6c36908ad3024b97b /cddl/usr.sbin
parent3098bcfc051728b0980187b275eb028bf0149d88 (diff)
downloadsrc-2282756519d9337dec783509a432fd6ddfd06683.tar.gz
src-2282756519d9337dec783509a432fd6ddfd06683.zip
dwatch(1): Fix syntax error in vop_readdir profile
Reported by: Arne Ehrlich <ehrlich@consider-it.de> MFC after: 3 days X-MFC-to: stable/11 Sponsored by: Smule, Inc.
Notes
Notes: svn path=/head/; revision=337610
Diffstat (limited to 'cddl/usr.sbin')
-rw-r--r--cddl/usr.sbin/dwatch/libexec/vop_readdir1
1 files changed, 1 insertions, 0 deletions
diff --git a/cddl/usr.sbin/dwatch/libexec/vop_readdir b/cddl/usr.sbin/dwatch/libexec/vop_readdir
index 7a34e420133e..8114bae6527a 100644
--- a/cddl/usr.sbin/dwatch/libexec/vop_readdir
+++ b/cddl/usr.sbin/dwatch/libexec/vop_readdir
@@ -163,6 +163,7 @@ $PROBE /this->fi_mount != 0/ /* probe ID $(( $ID + $MAX_DEPTH + 4 )) */
this->path = strjoin(this->path, strjoin(this->name =
(this->d_name != 0 ? this->d_name : ""),
this->name != "" ? "/" : ""));
+}
EOF
ACTIONS=$( cat <&9 )
ID=$(( $ID + $MAX_DEPTH + 5 ))