diff --git a/cl-pack.lisp b/cl-pack.lisp index fcf7f8f..a23ceef 100644 --- a/cl-pack.lisp +++ b/cl-pack.lisp @@ -290,7 +290,7 @@ (defun byte-to-2hex (byte) "Turn a byte into a string of 2 hex characters" - (format nil "~2,0X" byte)) + (format nil "~2,'0X" byte)) (defun byte-to-2hex-rev (byte) (reverse (byte-to-2hex byte)))