diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2014-11-08 09:24:04 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2014-11-08 09:24:04 -0800 |
commit | 8b8d03f970115df28232c588b585d3751f1780fb (patch) | |
tree | 7dfbdc644f676a874d752b5e20d3650bfa382251 | |
parent | ae495ec8de483ab99fe51bb36b95af4f50973387 (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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |