From 29c0f15254f809a7c3784ec259ee8af4cb668123 Mon Sep 17 00:00:00 2001 From: graf_chokolo Date: Fri, 25 Mar 2011 12:19:44 -0400 Subject: [PATCH] fixed some typos --- ps3stor_mgr.c | 3 ++- ps3stor_region.c | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ps3stor_mgr.c b/ps3stor_mgr.c index 44ae6af..03de608 100644 --- a/ps3stor_mgr.c +++ b/ps3stor_mgr.c @@ -35,9 +35,10 @@ int ps3stor_mgr_close(int fd) } int ps3stor_mgr_create_region(int fd, uint64_t dev_id, uint64_t start_sector, - uint64_t sector_count, uint64_t laid, uint64_t *region_id); + uint64_t sector_count, uint64_t laid, uint64_t *region_id) { struct ps3stormgr_ioctl_create_region arg; + int error; memset(&arg, 0, sizeof(arg)); arg.dev_id = dev_id; diff --git a/ps3stor_region.c b/ps3stor_region.c index 0de1c2c..050058f 100644 --- a/ps3stor_region.c +++ b/ps3stor_region.c @@ -126,7 +126,7 @@ static int process_opts(int argc, char **argv, struct opts *opts) */ static int cmd_create(int fd, struct opts *opts, int argc, char **argv) { - uint64_t dev_id, start_Sector, sector_count, laid, region_id; + uint64_t dev_id, start_sector, sector_count, laid, region_id; char *endptr; int error; -- 2.11.4.GIT