diff options
Diffstat (limited to 'src/e_err.S')
-rw-r--r-- | src/e_err.S | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/e_err.S b/src/e_err.S index 308a062..c8528f7 100644 --- a/src/e_err.S +++ b/src/e_err.S @@ -39,12 +39,19 @@ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * * bsdsetsid: src/e_err.S - * 2020-11-20 19:10 + * 2020-11-22 17:09 * Joe * * General error handling happen here. */ +.data +nl: .asciz "\n" +e_setsid_str: .asciz "bsdsetsid: setsid: " +e_execve_str: .asciz "bsdsetsid: execve: " +e_fork_str: .asciz "bsdsetsid: fork: " +e_noarg_str: .asciz "bsdsetsid: no command specified\n" + .text .extern strerror .globl e_execve @@ -102,10 +109,3 @@ e_exit: xor %rax, %rax movb $0x1, %al /* SYS_exit */ syscall - -.data -nl: .asciz "\n" -e_setsid_str: .asciz "bsdsetsid: setsid: " -e_execve_str: .asciz "bsdsetsid: execve: " -e_fork_str: .asciz "bsdsetsid: fork: " -e_noarg_str: .asciz "bsdsetsid: no command specified\n" |