gnuastro-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnuastro-commits] master 203ddc3 2/3: Change file name in error message


From: Mohammad Akhlaghi
Subject: [gnuastro-commits] master 203ddc3 2/3: Change file name in error messages in src/noisechisel/binary.c
Date: Sat, 13 Aug 2016 09:37:54 +0000 (UTC)

branch: master
commit 203ddc369cda718aa4e1e44536e1964c4f6e010c
Author: Vladimir Markelov <address@hidden>
Commit: Vladimir Markelov <address@hidden>

    Change file name in error messages in src/noisechisel/binary.c
    
    Error messages say that the trouble is in 'label.c' but the current
    file is 'binary.c'.
    
    This fixes bug 47866
---
 src/noisechisel/binary.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/noisechisel/binary.c b/src/noisechisel/binary.c
index 58cdc67..49090f6 100644
--- a/src/noisechisel/binary.c
+++ b/src/noisechisel/binary.c
@@ -524,7 +524,7 @@ fh_makeinv(unsigned char *byt, size_t s0, size_t s1,
   /* Allocate the temporary inverse array: */
   errno=0; tinv=malloc(size*sizeof *tinv);
   if(tinv==NULL)
-    error(EXIT_FAILURE, errno, "%lu bytes for tinv (label.c)",
+    error(EXIT_FAILURE, errno, "%lu bytes for tinv (binary.c)",
           size*sizeof *tinv);
 
   /* Fill in the central regions of the inverse array: */
@@ -618,7 +618,7 @@ fillboundedholes(unsigned char *in, size_t s0, size_t s1, 
int anyblank)
   errno=0; hlab=malloc(idx*idy*sizeof *hlab);
   if(hlab==NULL)
     error(EXIT_FAILURE, errno, "%lu bytes for hlab in filllabeledholes "
-          "(label.c)", idx*idy*sizeof *hlab);
+          "(binary.c)", idx*idy*sizeof *hlab);
 
 
   /* Find the hole labels */



reply via email to

[Prev in Thread] Current Thread [Next in Thread]