test/drm_lib.sh: Updated sysfs error filename

I've forgotten to bikeshed that part ...

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
Daniel Vetter 2013-07-02 09:09:56 +02:00
parent 857b464b34
commit 3f93e1bc74

View File

@ -35,7 +35,7 @@ fi
i915_sfs_path=x
for dir in `ls $sysfs_path` ; do
if [ -f $sysfs_path/$dir/error_state ] ; then
if [ -f $sysfs_path/$dir/error ] ; then
i915_sfs_path=$sysfs_path/$dir
break
fi