aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJilles Tjoelker <jilles@FreeBSD.org>2011-11-05 22:25:15 +0000
committerJilles Tjoelker <jilles@FreeBSD.org>2011-11-05 22:25:15 +0000
commit6e678e0ce96c5573d81afd6cf71877d65fa017c2 (patch)
treeff1a311da1781cdf26cab90c9af355a4fe653a79
parentad56ebdc15e5a7357184aecf38ed72a64bd81217 (diff)
Notes
-rw-r--r--usr.bin/xlint/xlint/xlint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/xlint/xlint/xlint.c b/usr.bin/xlint/xlint/xlint.c
index 553ac19c6f1af..de3b52710f6dd 100644
--- a/usr.bin/xlint/xlint/xlint.c
+++ b/usr.bin/xlint/xlint/xlint.c
@@ -656,7 +656,7 @@ fname(const char *name)
appcstrg(&args, name);
/* we reuse the same tmp file for cpp output, so rewind and truncate */
- if (lseek(cppoutfd, SEEK_SET, (off_t)0) != 0) {
+ if (lseek(cppoutfd, (off_t)0, SEEK_SET) != 0) {
warn("lseek");
terminate(-1);
}