summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/lib/libsa/loadfile.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/lib/libsa/loadfile.c b/sys/lib/libsa/loadfile.c
index 4dc70bcf7da..91a058cd37a 100644
--- a/sys/lib/libsa/loadfile.c
+++ b/sys/lib/libsa/loadfile.c
@@ -1,5 +1,5 @@
/* $NetBSD: loadfile.c,v 1.10 2000/12/03 02:53:04 tsutsui Exp $ */
-/* $OpenBSD: loadfile.c,v 1.13 2007/05/30 01:25:43 tom Exp $ */
+/* $OpenBSD: loadfile.c,v 1.14 2007/06/26 10:32:50 tom Exp $ */
/*-
* Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -114,8 +114,9 @@ int elf64_exec(int, Elf64_Ehdr *, u_long *, int);
#endif
/*
- * Open 'filename', read in program and and return 0 if ok 1 on error.
- * Fill in marks
+ * Open 'filename', read in program and return -1 on error otherwise fd,
+ * with file still open.
+ * Also fills in marks.
*/
int
loadfile(const char *fname, u_long *marks, int flags)