aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--archival/tar.c2
-rw-r--r--util-linux/mount.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/archival/tar.c b/archival/tar.c
index 0d3fb926c..b2967463e 100644
--- a/archival/tar.c
+++ b/archival/tar.c
@@ -464,7 +464,7 @@ static inline int writeTarFile(const int tar_fd, const int verboseFlag,
464 dup2(tbInfo.tarFd, 1); 464 dup2(tbInfo.tarFd, 1);
465 465
466 close(gzipStatusPipe[0]); 466 close(gzipStatusPipe[0]);
467 fcntl(gzipStatusPipe[1], F_SETFD, FD_CLOEXEC); /* close on exec shows sucess */ 467 fcntl(gzipStatusPipe[1], F_SETFD, FD_CLOEXEC); /* close on exec shows success */
468 468
469 execlp(zip_exec, zip_exec, "-f", NULL); 469 execlp(zip_exec, zip_exec, "-f", NULL);
470 vfork_exec_errno = errno; 470 vfork_exec_errno = errno;
diff --git a/util-linux/mount.c b/util-linux/mount.c
index 15b2b192f..cc6b73eb0 100644
--- a/util-linux/mount.c
+++ b/util-linux/mount.c
@@ -350,7 +350,7 @@ mount_it_now:
350 if(!f || !rc) break; 350 if(!f || !rc) break;
351 } 351 }
352 352
353 /* If the mount was sucessful, and we're maintaining an old-style 353 /* If the mount was successful, and we're maintaining an old-style
354 * mtab file by hand, add new entry to it now. */ 354 * mtab file by hand, add new entry to it now. */
355 if((!rc || fakeIt) && useMtab) { 355 if((!rc || fakeIt) && useMtab) {
356 FILE *mountTable = setmntent(bb_path_mtab_file, "a+"); 356 FILE *mountTable = setmntent(bb_path_mtab_file, "a+");