diff options
author | Chris Kuethe <chris.kuethe@gmail.com> | 2009-03-05 20:07:18 +0000 |
---|---|---|
committer | Chris Kuethe <chris.kuethe@gmail.com> | 2009-03-05 20:07:18 +0000 |
commit | e0c6c60865118e896deccd02622b2d03b93a26d1 (patch) | |
tree | 159f58a38491cc4416748ae0a7e70c8b2a7acddf /monitor_sirf.c | |
parent | a58ebcc1bdcffad4d0007b5bdfd99e0679dbba20 (diff) | |
download | gpsd-e0c6c60865118e896deccd02622b2d03b93a26d1.tar.gz |
fix the formatting of the satellite list
Diffstat (limited to 'monitor_sirf.c')
-rw-r--r-- | monitor_sirf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/monitor_sirf.c b/monitor_sirf.c index da68052b..0480cf8d 100644 --- a/monitor_sirf.c +++ b/monitor_sirf.c @@ -411,7 +411,7 @@ static void sirf_update(void) break; case 0x0d: /* Visible List */ - display(mid13win, 1, 6, "%d",getub(buf, 1)); + display(mid13win, 1, 6, "%02d",getub(buf, 1)); (void)wmove(mid13win, 1, 10); for (i = 0; i < MAXSATS; i++) { if (i < (int)getub(buf, 1)) |