changeset 53861:8af44ca54bdf

(hexl-insert-char): Add missing format string argument.
author Andreas Schwab <schwab@suse.de>
date Sun, 08 Feb 2004 22:36:31 +0000
parents a119a19bb7b3
children a1177e068d43
files lisp/hexl.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/hexl.el	Sun Feb 08 22:36:05 2004 +0000
+++ b/lisp/hexl.el	Sun Feb 08 22:36:31 2004 +0000
@@ -1,6 +1,6 @@
 ;;; hexl.el --- edit a file in a hex dump format using the hexl filter
 
-;; Copyright (C) 1989, 1994, 1998, 2001, 2002, 2003 Free Software Foundation, Inc.
+;; Copyright (C) 1989, 1994, 1998, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
 
 ;; Author: Keith Gabryelski <ag@wheaties.ai.mit.edu>
 ;; Maintainer: FSF
@@ -742,7 +742,7 @@
 
 CH must be a unibyte character whose value is between 0 and 255."
   (if (or (< ch 0) (> ch 255))
-      (error "Invalid character 0x%x -- must be in the range [0..255]"))
+      (error "Invalid character 0x%x -- must be in the range [0..255]" ch))
   (let ((address (hexl-current-address t)))
     (while (> num 0)
       (let ((hex-position