summaryrefslogtreecommitdiff
path: root/src/logic
diff options
context:
space:
mode:
Diffstat (limited to 'src/logic')
-rw-r--r--src/logic/slbt_exec_link.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/logic/slbt_exec_link.c b/src/logic/slbt_exec_link.c
index 32731b3..eb72dec 100644
--- a/src/logic/slbt_exec_link.c
+++ b/src/logic/slbt_exec_link.c
@@ -290,10 +290,10 @@ static int slbt_exec_link_adjust_argument_vector(
sprintf(*carg,"-L%s",arg);
mark = strrchr(*carg,'/');
- *mark = '\0';
+ *mark = 0;
if (ectx->fwrapper) {
- *slash = '\0';
+ *slash = 0;
if (fprintf(ectx->fwrapper,
"DL_PATH=\"$DL_PATH$COLON%s/%s\"\n"
@@ -310,7 +310,7 @@ static int slbt_exec_link_adjust_argument_vector(
sprintf(mark,"-l%s",slash);
dot = strrchr(mark,'.');
- *dot = '\0';
+ *dot = 0;
} else {
*aarg++ = *carg++;
}