summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMrunal Patel <mrunalp@gmail.com>2016-05-05 16:47:43 -0700
committerColin Walters (automation) <walters+githubbot@verbum.org>2016-05-06 00:01:12 +0000
commitc6ad6021b3ee1ce1515a3fce4b3b73cf180317e0 (patch)
tree5e8ae452cc5f29b467c78da9f0f33e0bd2b7979c
parent8ced4fbe51c76830e8add0e92c85acb676c353be (diff)
downloadbubblewrap-c6ad6021b3ee1ce1515a3fce4b3b73cf180317e0.tar.gz
Fix couple of typos
Signed-off-by: Mrunal Patel <mrunalp@gmail.com> Closes: #46 Approved by: rhatdan
-rw-r--r--bubblewrap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bubblewrap.c b/bubblewrap.c
index 896cd85..9f9d729 100644
--- a/bubblewrap.c
+++ b/bubblewrap.c
@@ -1318,7 +1318,7 @@ main (int argc,
die_with_error ("pivot_root");
if (chdir ("/") != 0)
- die_with_error ("chhdir / (base path)");
+ die_with_error ("chdir / (base path)");
if (is_privileged)
{
@@ -1394,7 +1394,7 @@ main (int argc,
if (chroot ("/newroot") != 0)
die_with_error ("chroot /newroot");
if (chdir ("/") != 0)
- die_with_error ("chhdir /");
+ die_with_error ("chdir /");
/* Now we have everything we need CAP_SYS_ADMIN for, so drop it */
drop_caps ();