diff options
author | JozanLeClerc <JozanLeClerc@noemail.net> | 2020-11-20 17:18:59 +0000 |
---|---|---|
committer | JozanLeClerc <JozanLeClerc@noemail.net> | 2020-11-20 17:18:59 +0000 |
commit | 1fd458b241dab419c47f577df6a6adce47113287 (patch) | |
tree | d12a5c2629ce15371710b8796ebdcfa6d61edc0c /src/u_print.S | |
parent | Added LICENSE (diff) | |
download | bsdsetsid-1fd458b241dab419c47f577df6a6adce47113287.tar.gz bsdsetsid-1fd458b241dab419c47f577df6a6adce47113287.tar.bz2 bsdsetsid-1fd458b241dab419c47f577df6a6adce47113287.tar.xz bsdsetsid-1fd458b241dab419c47f577df6a6adce47113287.tar.zst bsdsetsid-1fd458b241dab419c47f577df6a6adce47113287.zip |
Errors I do not understand
FossilOrigin-Name: 7908f3891d84f726b01bd9641094654c295550ff
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" |