aboutsummaryrefslogtreecommitdiff
path: root/binutils/bucomm.c
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2009-11-08 23:01:57 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2009-11-08 23:01:57 +0000
commita3029abda03d4fcf1a2aaa6948c9569a1b3f9c51 (patch)
tree86108dbb46ca395b0e259fa247f3415b48fe980f /binutils/bucomm.c
parent41b6334fa99853a4356e08f905e8a5d5f145f794 (diff)
downloadgdb-a3029abda03d4fcf1a2aaa6948c9569a1b3f9c51.zip
gdb-a3029abda03d4fcf1a2aaa6948c9569a1b3f9c51.tar.gz
gdb-a3029abda03d4fcf1a2aaa6948c9569a1b3f9c51.tar.bz2
binutils/
* bucomm.c (get_file_size): Update comment for the error return value.
Diffstat (limited to 'binutils/bucomm.c')
-rw-r--r--binutils/bucomm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/binutils/bucomm.c b/binutils/bucomm.c
index e006e61..64653d6 100644
--- a/binutils/bucomm.c
+++ b/binutils/bucomm.c
@@ -552,7 +552,7 @@ parse_vma (const char *s, const char *arg)
/* Returns the size of the named file. If the file does not
exist, or if it is not a real file, then a suitable non-fatal
- error message is printed and zero is returned. */
+ error message is printed and (off_t) -1 is returned. */
off_t
get_file_size (const char * file_name)