From 8a7521809fc3b2d7ba4cb6b3c85be4465986f696 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Sun, 22 Nov 2020 16:11:13 +0000 Subject: Minor changes FossilOrigin-Name: e04569fc8b7a743384c489a925ee9b1b599e932f --- .fossil-settings/ignore-glob | 2 +- src/e_err.S | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.fossil-settings/ignore-glob b/.fossil-settings/ignore-glob index 4b12a9e..fceb055 100644 --- a/.fossil-settings/ignore-glob +++ b/.fossil-settings/ignore-glob @@ -1,7 +1,7 @@ a.out bsdsetsid +tags .ccls* -.ccls-cache .clang_complete git *.gz 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" -- cgit v1.2.3