diff options
author | erin_yueh <erin_yueh@99fdad57-331a-0410-800a-d7fa5415bdb3> | 2008-01-10 05:14:53 +0000 |
---|---|---|
committer | erin_yueh <erin_yueh@99fdad57-331a-0410-800a-d7fa5415bdb3> | 2008-01-10 05:14:53 +0000 |
commit | fbc0b497567fecd2818f4a497843f62d1be6d70c (patch) | |
tree | a08697bc3dcd3dbe25df196c19c788aa8bb8a6c5 /src/util/pin.c | |
parent | 9567f52dbf14097d8e19d0d858594d971aa725ec (diff) |
gsmd: eliminate gcc warnings (Erin Yueh)
git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3807 99fdad57-331a-0410-800a-d7fa5415bdb3
Diffstat (limited to 'src/util/pin.c')
-rw-r--r-- | src/util/pin.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/pin.c b/src/util/pin.c index b873535..47602b6 100644 --- a/src/util/pin.c +++ b/src/util/pin.c @@ -52,7 +52,7 @@ static int pin_handler(struct lgsm_handle *lh, } else { do { printf("Please enter %s: ", lgsm_pin_name(type)); - rc = fscanf(stdin, "%8s", &pinbuf); + rc = fscanf(stdin, "%8s", pinbuf); } while (rc < 1); switch (type) { @@ -60,7 +60,7 @@ static int pin_handler(struct lgsm_handle *lh, case GSMD_PIN_SIM_PUK2: do { printf("Please enter new PIN: "); - rc = fscanf(stdin, "%8s", &pinbuf2); + rc = fscanf(stdin, "%8s", pinbuf2); newpin = pinbuf2; } while (rc < 1); break; |