mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
stress2: Handle a define with comments
This commit is contained in:
parent
cd996b8489
commit
4b0615e585
1 changed files with 1 additions and 1 deletions
|
|
@ -35,7 +35,7 @@
|
|||
|
||||
UFS_LINK_MAX=`grep UFS_LINK_MAX /usr/include/ufs/ufs/dinode.h 2>/dev/null`
|
||||
[ -z "$UFS_LINK_MAX" ] && exit 0
|
||||
UFS_LINK_MAX=`echo $UFS_LINK_MAX | awk '{print $NF}'`
|
||||
UFS_LINK_MAX=`echo $UFS_LINK_MAX | awk '{print $3}'`
|
||||
cat > /tmp/nlink5.c <<EOF
|
||||
#include <sys/stat.h>
|
||||
#include <ufs/ufs/dinode.h>
|
||||
|
|
|
|||
Loading…
Reference in a new issue