summary refs log tree commit diff
path: root/sysdeps/unix/make-syscalls.sh
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/make-syscalls.sh')
-rw-r--r--sysdeps/unix/make-syscalls.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/unix/make-syscalls.sh b/sysdeps/unix/make-syscalls.sh
index 74b15231bf..e9d0f508b4 100644
--- a/sysdeps/unix/make-syscalls.sh
+++ b/sysdeps/unix/make-syscalls.sh
@@ -73,8 +73,8 @@ EOF
   for name in $weak; do
     case $name in
       *@@*)
-	base=`echo $name | sed 's/@.*//'`
-	ver=`echo $name | sed 's/@.*//'`
+	base=`echo $name | sed 's/@@.*//'`
+	ver=`echo $name | sed 's/.*@@//'`
 	if test -z "$vcount" ; then
 	  source=$strong
 	  vcount=1