Skip to contentSkip to conversation

fix typo in nsproxy.c in ckpt-v19-rc2.9

PATCH In review Serge E. Hallyn 2 participants 2 messages Jan 28, 2010 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix typo in nsproxy.c in ckpt-v19-rc2.9

---
 kernel/nsproxy.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
kernel/nsproxy.c +1 -1
index f2cf1a2..b0e71f2 100644
@@ -291,7 +291,7 @@ static int do_checkpoint_ns(struct ckpt_ctx *ctx, struct nsproxy *nsproxy)
 
 	/* FIXME: for now, only marked visited to pacify leaks */
 	ret = ckpt_obj_visit(ctx, nsproxy->mnt_ns, CKPT_OBJ_MNT_NS);
-	if (et < 0)
+	if (ret < 0)
 		goto out;
 
 	ret = ckpt_write_obj(ctx, &h->h);
Signature · 1 line
1.6.0.6

A message that is not in the archive (sent off-list or not yet received): 20100128032108.GA13006-r/[email protected]

#2 lore raw

ugh .. no idea who it slipped in :(

Quoted 18 lines · Serge E. Hallyn
---
 kernel/nsproxy.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
kernel/nsproxy.c +1 -1
index f2cf1a2..b0e71f2 100644
@@ -291,7 +291,7 @@ static int do_checkpoint_ns(struct ckpt_ctx *ctx, struct nsproxy *nsproxy)
 
 	/* FIXME: for now, only marked visited to pacify leaks */
 	ret = ckpt_obj_visit(ctx, nsproxy->mnt_ns, CKPT_OBJ_MNT_NS);
-	if (et < 0)
+	if (ret < 0)
 		goto out;
 
 	ret = ckpt_write_obj(ctx, &h->h);