~ruther/guix-local

96af558907fecb22086a4ebc260b20f34fb25335 — Ludovic Courtès 11 years ago 8d30be3
elf: Add missing argument in 'elf-segment'.

* guix/elf.scm (elf-segment): Add missing argument N.
1 files changed, 2 insertions(+), 1 deletions(-)

M guix/elf.scm
M guix/elf.scm => guix/elf.scm +2 -1
@@ 1,6 1,6 @@
;;; Guile ELF reader and writer

;; Copyright (C)  2011, 2012, 2013, 2014 Free Software Foundation, Inc.
;; Copyright (C)  2011, 2012, 2013, 2014, 2015 Free Software Foundation, Inc.

;;;; This library is free software; you can redistribute it and/or
;;;; modify it under the terms of the GNU Lesser General Public


@@ 571,6 571,7 @@
     ((4) parse-elf32-program-header)
     ((8) parse-elf64-program-header)
     (else (error "unhandled pointer size")))
   n
   (elf-bytes elf)
   (+ (elf-phoff elf) (* n (elf-phentsize elf)))
   (elf-byte-order elf)))