termux-packages/packages/yuma123/netconf-src-subsys-netconf-...

12 lines
391 B
Diff

--- a/netconf/src/subsys/netconf-subsystem.c
+++ b/netconf/src/subsys/netconf-subsystem.c
@@ -138,7 +138,7 @@
int arg_idx = 1;
char defname[21];
- strncpy(defname, "/tmp/subsys-err.log", 20);
+ strncpy(defname, "@TERMUX_PREFIX@/tmp/subsys-err.log", 20);
err_filename = defname;
while ( arg_idx < argc-1 ) {
if ( !strcmp( argv[arg_idx], "-filename" ) ||