loaders: GP_Loader: Fix previous commit.
commitee2a7bf0f846b6283b0c3cab6acb7c5afb4ca93b
authorCyril Hrubis <metan@ucw.cz>
Sat, 29 Dec 2012 10:38:51 +0000 (29 11:38 +0100)
committerCyril Hrubis <metan@ucw.cz>
Sat, 29 Dec 2012 10:40:11 +0000 (29 11:40 +0100)
treeef962f7c78be9b22ee867ae1dbaea4df563c7135
parent3d1396ad2aa8763807e048d91cde205e764b237f
loaders: GP_Loader: Fix previous commit.

We need to do access() first then stat().
libs/loaders/GP_Loader.c