aboutsummaryrefslogtreecommitdiff
path: root/libexec/rbootd
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2000-11-19 10:56:14 +0000
committerKris Kennaway <kris@FreeBSD.org>2000-11-19 10:56:14 +0000
commite10471bbba3ed15c56669de71807c1f6eb17d90d (patch)
tree9fa73f09e5b5a7cfc3aa0f5823869f237ebefc04 /libexec/rbootd
parentb601f693db5d48359c5e28f498c379b968cca7c3 (diff)
downloadsrc-e10471bbba3ed15c56669de71807c1f6eb17d90d.tar.gz
src-e10471bbba3ed15c56669de71807c1f6eb17d90d.zip
Notes
Diffstat (limited to 'libexec/rbootd')
-rw-r--r--libexec/rbootd/rmpproto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/rbootd/rmpproto.c b/libexec/rbootd/rmpproto.c
index 80ce805db586..3619b39ff795 100644
--- a/libexec/rbootd/rmpproto.c
+++ b/libexec/rbootd/rmpproto.c
@@ -458,7 +458,7 @@ SendReadRepl(rconn)
* Position read head on file according to info in request packet.
*/
GETWORD(req->r_rrq.rmp_offset, size);
- if (lseek(oldconn->bootfd, (off_t)size, L_SET) < 0) {
+ if (lseek(oldconn->bootfd, (off_t)size, SEEK_SET) < 0) {
syslog(LOG_ERR, "SendReadRepl: lseek: %m (%s)",
EnetStr(rconn));
rpl->r_rrpl.rmp_retcode = RMP_E_ABORT;