about summary refs log tree commit diff
path: root/sysdeps/unix
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>1999-01-18 01:45:33 +0000
committerAndreas Schwab <schwab@suse.de>1999-01-18 01:45:33 +0000
commit37ce12d14c4d55fef2ca8c939f111bae05ac4eb8 (patch)
treedf829a0352fa8f12c9d249f1ec7868dadaf633ab /sysdeps/unix
parentc96f6550f38c01530f498cd98dddcd0b3ed45e28 (diff)
downloadglibc-37ce12d14c4d55fef2ca8c939f111bae05ac4eb8.tar.gz
glibc-37ce12d14c4d55fef2ca8c939f111bae05ac4eb8.tar.xz
glibc-37ce12d14c4d55fef2ca8c939f111bae05ac4eb8.zip
* sysdeps/unix/sysv/linux/m68k/vfork.S: Test return value after
fork syscall.
1999-01-15  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* sysdeps/unix/sysv/linux/m68k/vfork.S: Test return value after
	fork syscall.
Diffstat (limited to 'sysdeps/unix')
-rw-r--r--sysdeps/unix/sysv/linux/m68k/vfork.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/m68k/vfork.S b/sysdeps/unix/sysv/linux/m68k/vfork.S
index e5761f9371..d5b321dff6 100644
--- a/sysdeps/unix/sysv/linux/m68k/vfork.S
+++ b/sysdeps/unix/sysv/linux/m68k/vfork.S
@@ -57,6 +57,7 @@ ENTRY (__vfork)
 
 	movel	#SYS_ify (fork), %d0
 	trap	#0
+	tstl	%d0
 	jmi	SYSCALL_ERROR_LABEL
 	rts