6502: fix a bug in ugets()
authorAlan Cox <alan@linux.intel.com>
Sat, 23 Sep 2017 17:18:56 +0000 (18:18 +0100)
committerAlan Cox <alan@linux.intel.com>
Sat, 23 Sep 2017 17:18:56 +0000 (18:18 +0100)
Fortunately we never hit this in current uses

Kernel/usermem_std-6502.s

index c957ab1..c360a88 100644 (file)
@@ -89,7 +89,7 @@ __ugets:      sta tmp2
                ldy #0                  ; counter
 
                ldx tmp2+1              ; how many 256 byte blocks
-               beq __uget_tail         ; if none skip to the tail
+               beq __ugets_tail        ; if none skip to the tail
 
 __ugets_blk:
                jsr map_process_always  ; map the user process in