mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-23 19:28:36 +00:00
stress2: Handle a define with comments
This commit is contained in:
parent
cd996b8489
commit
4b0615e585
|
@ -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