Skip to contentSkip to conversation

[4419] added missing return (Mike Frysinger)

Qemu-devel Fabrice Bellard 1 participant 1 message May 10, 2008

lore
Share & tools
lore
#0 lore raw

Revision: 4419

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4419
Author:   bellard
Date:     2008-05-10 21:51:02 +0000 (Sat, 10 May 2008)

Log Message:
-----------
added missing return (Mike Frysinger)

Modified Paths:
--------------
trunk/linux-user/syscall.c

Modified: trunk/linux-user/syscall.c
===================================================================

linux-user/syscall.c +2 -0
@@ -3040,6 +3040,7 @@
     host_ts->tv_sec = tswapl(target_ts->tv_sec);
     host_ts->tv_nsec = tswapl(target_ts->tv_nsec);
     unlock_user_struct(target_ts, target_addr, 0);
+    return 0;
 }
 
 static inline abi_long host_to_target_timespec(abi_ulong target_addr,
@@ -3052,6 +3053,7 @@
     target_ts->tv_sec = tswapl(host_ts->tv_sec);
     target_ts->tv_nsec = tswapl(host_ts->tv_nsec);
     unlock_user_struct(target_ts, target_addr, 1);
+    return 0;
 }
 
 int get_osversion(void)