summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2014-11-08 09:31:27 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2014-11-08 09:31:27 -0800
commit2ca9bc019d024664fa0b156dc35eefeba2a2f576 (patch)
treedefcf56e839e8baf0ca7ba560ddabfd3cf96b129
parent2db8a5e7f8339a7cce0a1b5bd943b3023eddc564 (diff)
Use SEEK_* names instead of raw numbers for fseek whence argument
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--di/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/di/utils.c b/di/utils.c
index 2e04c18..7f7aa46 100644
--- a/di/utils.c
+++ b/di/utils.c
@@ -917,7 +917,7 @@ LBXReadAtomsFile(XServerPtr server)
return;
}
- fseek (f, 0, 0);
+ fseek (f, 0, SEEK_SET);
while (fgets (buf, 256, f))
{