diff options
Diffstat (limited to 'src/u_print.S')
-rw-r--r-- | src/u_print.S | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/src/u_print.S b/src/u_print.S index 969cf28..36fca6d 100644 --- a/src/u_print.S +++ b/src/u_print.S @@ -38,7 +38,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * bsdsetsid: src/c_bsdsetsid.S + * bsdsetsid: src/u_print.S * 2020-11-19 13:27 * Joe * @@ -46,7 +46,6 @@ */ .text -.extern u_strlen .globl u_pout .globl u_perr @@ -55,7 +54,7 @@ u_pout: jmp u_print u_perr: - mov $0x2, %r11 /* stderr */ + mov $0x2, %r11 /* stderr */ jmp u_print u_print: @@ -65,11 +64,4 @@ u_print: mov %r11, %rdi mov $0x4, %rax /* SYS_write */ syscall - lea nl, %rsi - mov $0x1, %rdx - mov $0x4, %rax /* SYS_write */ - syscall ret - -.data -nl: .asciz "\n" |