summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2014-11-08 09:24:04 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2014-11-08 09:24:04 -0800
commit8b8d03f970115df28232c588b585d3751f1780fb (patch)
tree7dfbdc644f676a874d752b5e20d3650bfa382251
parentae495ec8de483ab99fe51bb36b95af4f50973387 (diff)
Use SEEK_* names instead of raw numbers for fseek whence argument
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--xrdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xrdb.c b/xrdb.c
index 09eb8e7..619e178 100644
--- a/xrdb.c
+++ b/xrdb.c
@@ -1275,7 +1275,7 @@ Process(int scrno, Bool doScreen, Bool execute)
fputs(defines.val, stdin);
fprintf(stdin, "\n#include \"%s\"\n", filename);
fflush(stdin);
- fseek(stdin, 0, 0);
+ fseek(stdin, 0, SEEK_SET);
if (asprintf(&cmd, "%s %s %s", cpp_program, cpp_addflags,
includes.val) == -1)
fatal("%s: Out of memory\n", ProgramName);