Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 167922
b: refs/heads/master
c: d553ad8
h: refs/heads/master
v: v3
  • Loading branch information
Rusty Russell committed Oct 28, 2009
1 parent 23b4b55 commit 5aa2665
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 65afac7d80ab3bc9f81e75eafb71eeb92a3ebdef
refs/heads/master: d553ad864e3b3dde3f1038d491e207021b2d6293
2 changes: 1 addition & 1 deletion trunk/kernel/params.c
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ int param_set_charp(const char *val, struct kernel_param *kp)
* don't need to; this mangled commandline is preserved. */
if (slab_is_available()) {
*(char **)kp->arg = kstrdup(val, GFP_KERNEL);
if (!kp->arg)
if (!*(char **)kp->arg)
return -ENOMEM;
} else
*(const char **)kp->arg = val;
Expand Down

0 comments on commit 5aa2665

Please sign in to comment.