git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Kernel - Updated events and workqueue to use new function
[tpg/acess2.git]
/
Usermode
/
Applications
/
mount_src
/
main.c
diff --git
a/Usermode/Applications/mount_src/main.c
b/Usermode/Applications/mount_src/main.c
index
7c401bd
..
1a1fc7b
100644
(file)
--- a/
Usermode/Applications/mount_src/main.c
+++ b/
Usermode/Applications/mount_src/main.c
@@
-142,20
+142,20
@@
int main(int argc, char *argv[])
}
// Check Device
}
// Check Device
- fd =
o
pen(sDevice, OPENFLAG_READ);
+ fd =
_SysO
pen(sDevice, OPENFLAG_READ);
if(fd == -1) {
printf("Device '%s' cannot be opened for reading\n", sDevice);
return EXIT_FAILURE;
}
if(fd == -1) {
printf("Device '%s' cannot be opened for reading\n", sDevice);
return EXIT_FAILURE;
}
-
c
lose(fd);
+
_SysC
lose(fd);
// Check Mount Point
// Check Mount Point
- fd =
o
pen(sDir, OPENFLAG_EXEC);
+ fd =
_SysO
pen(sDir, OPENFLAG_EXEC);
if(fd == -1) {
printf("Directory '%s' does not exist\n", sDir);
return EXIT_FAILURE;
}
if(fd == -1) {
printf("Directory '%s' does not exist\n", sDir);
return EXIT_FAILURE;
}
-
c
lose(fd);
+
_SysC
lose(fd);
// Replace sOptions with an empty string if it is still NULL
if(sOptions == NULL) sOptions = "";
// Replace sOptions with an empty string if it is still NULL
if(sOptions == NULL) sOptions = "";
UCC
git Repository :: git.ucc.asn.au