[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss-gnuradio] Bug in usrper.cc
From: |
Berndt Josef Wulf |
Subject: |
[Discuss-gnuradio] Bug in usrper.cc |
Date: |
Wed, 9 Feb 2005 01:23:38 +1030 |
User-agent: |
KMail/1.7.2 |
G'day,
below is a patch that fixes a small bug in ursper.cc.
------------------------------------ 8< --------------------------------------
--- usrper.cc.orig 2005-02-09 01:14:21.000000000 +1030
+++ usrper.cc 2005-02-09 01:15:31.000000000 +1030
@@ -48,7 +48,7 @@
usage ()
{
fprintf (stderr, "usage: \n");
- fprintf (stderr, " %s [-v] [-w <which_board>] [-x] ...\n");
+ fprintf (stderr, " %s [-v] [-w <which_board>] [-x] ...\n", prog_name);
fprintf (stderr, " %s load_standard_bits\n", prog_name);
fprintf (stderr, " %s load_firmware <file.ihx>\n", prog_name);
fprintf (stderr, " %s load_fpga <file.rbf>\n", prog_name);
------------------------------------ 8< --------------------------------------
Without it, ursper wil print random data in case of the second usage option
line due to missing variable matching the string argument.
cheerio Berndt
- Re: [Discuss-gnuradio] FC3 build problems, (continued)
- Re: [Discuss-gnuradio] FC3 build problems, mgray, 2005/02/03
- Re: [Discuss-gnuradio] FC3 python problem, Everett Palmer, 2005/02/03
- Re: [Discuss-gnuradio] FC3 python problem, Eric Blossom, 2005/02/04
- [Discuss-gnuradio] Booting a new USRP, cfk, 2005/02/04
- Re: [Discuss-gnuradio] Booting a new USRP, Matt Ettus, 2005/02/05
- Re: [Discuss-gnuradio] Booting a new USRP, cfk, 2005/02/05
- Re: [Discuss-gnuradio] Booting a new USRP, Eric Blossom, 2005/02/05
- Re: [Discuss-gnuradio] Booting a new USRP, cfk, 2005/02/05
- Re: [Discuss-gnuradio] Booting a new USRP, Matt Ettus, 2005/02/05
- Re: [Discuss-gnuradio] Booting a new USRP, cfk, 2005/02/05
- [Discuss-gnuradio] Bug in usrper.cc,
Berndt Josef Wulf <=
- Re: [Discuss-gnuradio] Bug in usrper.cc, Eric Blossom, 2005/02/08
- Re: [Discuss-gnuradio] Booting a new USRP, Rahul Dhar, 2005/02/11
- Re: [Discuss-gnuradio] Booting a new USRP, cfk, 2005/02/11
- Re: [Discuss-gnuradio] Booting a new USRP, Rahul Dhar, 2005/02/11
- [Discuss-gnuradio] usrp_oscope.py, cfk, 2005/02/11
- Re: [Discuss-gnuradio] usrp_oscope.py, Eric Blossom, 2005/02/11
- Re: [Discuss-gnuradio] Booting a new USRP, Eric Blossom, 2005/02/11
- Re: [Discuss-gnuradio] Booting a new USRP, John Gilmore, 2005/02/18
- Re: [Discuss-gnuradio] Booting a new USRP, Eric Blossom, 2005/02/18
- Re: [Discuss-gnuradio] Booting a new USRP, John Gilmore, 2005/02/19