summaryrefslogtreecommitdiff
path: root/lib/igt_aux.c
diff options
context:
space:
mode:
authorRodrigo Siqueira <rodrigosiqueiramelo@gmail.com>2018-07-07 20:22:25 -0300
committerArkadiusz Hiler <arkadiusz.hiler@intel.com>2018-07-11 15:37:32 +0300
commitd0f8fc9c88cbeec01486477007effc3b7914a8be (patch)
treefbb25b49aa405a71ef12e06833198bd775e6e2ad /lib/igt_aux.c
parentbe9296a1e1e4d288d4baee3aba89480f007dea6c (diff)
Remove parameter aliases with another argument
This commit fixes the following GCC warning: warning: passing argument 2 to restrict-qualified parameter aliases with argument 1 [-Wrestrict] return (readlink (buf, buf, sizeof (buf)) != -1 && This commit fixes the GCC warning by creating a second buffer only to keep the path. v2: make pathname smaller (A. Hiler) Signed-off-by: Rodrigo Siqueira <rodrigosiqueiramelo@gmail.com> Signed-off-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com> Acked-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
Diffstat (limited to 'lib/igt_aux.c')
0 files changed, 0 insertions, 0 deletions