projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[NFSD][TELNETD][LIBTIRPC][MAN] Don't hardcode C:\ReactOS (#2334)
[reactos.git]
/
base
/
services
/
nfsd
/
nfs41_daemon.c
diff --git
a/base/services/nfsd/nfs41_daemon.c
b/base/services/nfsd/nfs41_daemon.c
index
1a8f2df
..
73b54d3
100644
(file)
--- a/
base/services/nfsd/nfs41_daemon.c
+++ b/
base/services/nfsd/nfs41_daemon.c
@@
-177,7
+177,8
@@
static bool_t check_for_files()
}
else
{
- StringCchCopyA(config_path, ARRAYSIZE(config_path), "C:\\ReactOS\\system32\\drivers\\etc\\netconfig");
+ eprintf("GetSystemDirectoryA failed with error %ld\n", GetLastError());
+ return FALSE;
}
fd = fopen(config_path, "r");