summaryrefslogtreecommitdiff
path: root/src/util.lisp
diff options
context:
space:
mode:
Diffstat (limited to 'src/util.lisp')
-rw-r--r--src/util.lisp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.lisp b/src/util.lisp
index d0e32c4..14e5d74 100644
--- a/src/util.lisp
+++ b/src/util.lisp
@@ -22,7 +22,7 @@
(defun generate-file-name (file)
"Given a .asm file, generates an identically named .rv file."
- (subseq file 0 (- (length file) 4)))
+ (concatenate 'string (subseq file 0 (- (length file) 3)) "rv"))
(defun format-as-binary (num len)
"Formats NUM as a binary number, and pads to LEN with zeros."