diff options
author | Tom Cosgrove <tom@cvs.openbsd.org> | 2007-06-26 10:32:51 +0000 |
---|---|---|
committer | Tom Cosgrove <tom@cvs.openbsd.org> | 2007-06-26 10:32:51 +0000 |
commit | 54fa86fb1baf3533c167e5abccbb38011a0fa84c (patch) | |
tree | d24d9596a3d43df0ec50c4950bf1c56d7baf5c3d /sys/lib/libsa | |
parent | 30afd21483ec27ae5c4ca7f7284d61e27ab055c7 (diff) |
Fix the description of loadfile() semantics in comment (and kill "and
and" at the same time).
Diffstat (limited to 'sys/lib/libsa')
-rw-r--r-- | sys/lib/libsa/loadfile.c | 7 |
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) |