summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeoff Levand <geoff@infradead.org>2022-09-29 20:06:26 -0700
committerGeoff Levand <geoff@infradead.org>2022-09-29 20:06:26 -0700
commitba9b13f6cec0c9083a67a0137ce3de1e46831531 (patch)
tree532def25fbfdeb273ab40d80bbffc24b045fe0b3
parent13c45c2be3b4f9e745a619f573f5c606ccd901fa (diff)
downloadps3-utils-ba9b13f6cec0c9083a67a0137ce3de1e46831531.tar.gz
ps3-flash-util: Fix null accessHEADmaster
Signed-off-by: Geoff Levand <geoff@infradead.org>
-rw-r--r--ps3-flash-util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ps3-flash-util.c b/ps3-flash-util.c
index 8ae2af7..137366c 100644
--- a/ps3-flash-util.c
+++ b/ps3-flash-util.c
@@ -306,8 +306,8 @@ static int pickup_db_op_entry(char *argv[], enum db_op_type type,
for (i = 0; i < required; i++) {
if (!argv[i + 1]) {
if (required > i) {
- fprintf(stderr, "missing option: -%c at '%s'\n",
- argv[0][1], argv[i + 1]);
+ fprintf(stderr, "missing option: -%c\n",
+ argv[0][1]);
return -1;
}
break;