Whamcloud - gitweb
LU-930 utils: fix 'lfs find' error message 40/35740/2
authorAndreas Dilger <adilger@whamcloud.com>
Thu, 8 Aug 2019 22:07:26 +0000 (16:07 -0600)
committerOleg Drokin <green@whamcloud.com>
Thu, 15 Aug 2019 07:55:53 +0000 (07:55 +0000)
commitbc500536b6dd5f2f5fba61286bd81ecccb7d959d
tree6e94358bded5ac3b87ad8cd4d3bdbdc4a9b9a3c2
parent9bda0a5cad190f33571ff6bce4235cd7fc4f76fd
LU-930 utils: fix 'lfs find' error message

Print out the actual filename supplied to "lfs find" rather than the
last argument in the list.  Otherwise we get error messages like:

    $ lfs find /myth/tmp -name fasdfasf -size 12
    error: find failed for 12.

Test-Parameters: trivial
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: I56eef89ab3c04b193f1c7dec3852c4038b3ebbe5
Reviewed-on: https://review.whamcloud.com/35740
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Arshad Hussain <arshad.super@gmail.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Jian Yu <yujian@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/utils/lfs.c