aboutsummaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorTim J. Robbins <tjr@FreeBSD.org>2004-02-20 12:22:52 +0000
committerTim J. Robbins <tjr@FreeBSD.org>2004-02-20 12:22:52 +0000
commit65922d0bb25feaf6dd054f1589dd01d95c1c2588 (patch)
tree12826cffc1a0fae60c1d83f804fb88858c620470 /sbin
parentac5940be9df4d40ab27d3280fcb9b0eb499ccb89 (diff)
downloadsrc-65922d0bb25feaf6dd054f1589dd01d95c1c2588.tar.gz
src-65922d0bb25feaf6dd054f1589dd01d95c1c2588.zip
Notes
Diffstat (limited to 'sbin')
-rw-r--r--sbin/savecore/savecore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/savecore/savecore.c b/sbin/savecore/savecore.c
index c7e8a1572927..7258a45d93ed 100644
--- a/sbin/savecore/savecore.c
+++ b/sbin/savecore/savecore.c
@@ -422,7 +422,7 @@ DoFile(char *savedir, const char *device)
if (fwrite(buf + nw, hs - nw, 1, fp) != 1)
break;
if (he > hs)
- if (fseek(fp, he - hs, SEEK_CUR) == -1)
+ if (fseeko(fp, he - hs, SEEK_CUR) == -1)
break;
}
}