summaryrefslogtreecommitdiffhomepage
path: root/src/arch
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-09-02 23:16:04 +0000
committermidipix <writeonce@midipix.org>2019-09-02 23:16:04 +0000
commitb86e924596b4da8a80f82e93a745921d16eb957c (patch)
treea9dfbd004229ef7d701d5c789a0427e5a681241a /src/arch
parent1509ed4180fa4f8808a918bd7ce8a74c1d94a91b (diff)
downloadmmglue-b86e924596b4da8a80f82e93a745921d16eb957c.tar.bz2
mmglue-b86e924596b4da8a80f82e93a745921d16eb957c.tar.xz
glue layer: __cmd_args_to_argv(): use errno to indicate the error.
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/nt32/cmd.c2
-rw-r--r--src/arch/nt64/cmd.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/nt32/cmd.c b/src/arch/nt32/cmd.c
index a5def88..932737d 100644
--- a/src/arch/nt32/cmd.c
+++ b/src/arch/nt32/cmd.c
@@ -6,5 +6,5 @@ int __cmd_args_to_argv(
char * argbuf, size_t buflen,
char ** argv, size_t nptrs)
{
- return __syscall(SYS_cmd_args_to_argv,args,argbuf,buflen,argv,nptrs);
+ return syscall(SYS_cmd_args_to_argv,args,argbuf,buflen,argv,nptrs);
}
diff --git a/src/arch/nt64/cmd.c b/src/arch/nt64/cmd.c
index a5def88..932737d 100644
--- a/src/arch/nt64/cmd.c
+++ b/src/arch/nt64/cmd.c
@@ -6,5 +6,5 @@ int __cmd_args_to_argv(
char * argbuf, size_t buflen,
char ** argv, size_t nptrs)
{
- return __syscall(SYS_cmd_args_to_argv,args,argbuf,buflen,argv,nptrs);
+ return syscall(SYS_cmd_args_to_argv,args,argbuf,buflen,argv,nptrs);
}