summaryrefslogtreecommitdiffstats
path: root/lib/show_progress.c
Commit message (Collapse)AuthorAgeFilesLines
* show_progress: print spaces with %*sSascha Hauer2016-04-151-2/+1
| | | | | | | Removes the need for include/linux/stringify.h in the progress bar code. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* lib: fix whitespace, drop blank lines at EOFAntony Pavlov2014-01-061-1/+0
| | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* lib: Fix copy_file when filesize is FILESIZE_MAXTeresa Gámez2013-09-271-2/+3
| | | | | | | | | | Using tftp command does not work proper when files have FILESIZE_MAX, as copy_file and show_progress can not handle it. Check the file size for FILESIZE_MAX and handle it as file size = 0. Signed-off-by: Teresa Gámez <t.gamez@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* progressbar: use __stringify in format stringAlexander Aring2012-10-301-1/+2
| | | | | | | Use stringify in format string for HASH_PER_LINE. Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Treewide: remove address of the Free Software FoundationSascha Hauer2012-09-171-3/+0
| | | | | | | The FSF address has changed in the past. Instead of updating it each time the address changes, just drop it completely treewide. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* show_progress: fix progress bar for files > 32 MiBMarc Kleine-Budde2012-01-251-2/+6
| | | | | | | The next limit with the current code will probably 2GiB. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* add progression bar functionSascha Hauer2010-06-281-0/+62
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>