diff options
| author | John Polstra <jdp@FreeBSD.org> | 1999-07-17 18:58:32 +0000 |
|---|---|---|
| committer | John Polstra <jdp@FreeBSD.org> | 1999-07-17 18:58:32 +0000 |
| commit | 2062f4ee1124f4a0b02c7ea30ffd9615f7dcc6c8 (patch) | |
| tree | 0875fbbb9236a11d29293227c5a25683956e785d /usr.bin | |
| parent | f008cfcc1a6cb2de15c7a2f99a06069d94036746 (diff) | |
Notes
Diffstat (limited to 'usr.bin')
| -rw-r--r-- | usr.bin/gcore/elfcore.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/gcore/elfcore.c b/usr.bin/gcore/elfcore.c index af199ca8f705..f612232b458a 100644 --- a/usr.bin/gcore/elfcore.c +++ b/usr.bin/gcore/elfcore.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: elfcore.c,v 1.1 1998/10/19 19:42:18 jdp Exp $ + * $Id: elfcore.c,v 1.2 1998/11/01 06:35:36 jdp Exp $ */ #include <sys/param.h> @@ -484,7 +484,7 @@ readmap(pid_t pid) int len; len = 0; - n = sscanf(mapbuf + pos, "%x %x %*d %*d %*d %3[-rwx]" + n = sscanf(mapbuf + pos, "%x %x %*d %*d %*x %3[-rwx]" " %*d %*d %*x %*s %*s %16s%*[\n]%n", &start, &end, prot, type, &len); if (n != 4) |
