poke-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 6/6] ios: Amend OOM message to be consistent everywhere.


From: Jose E. Marchesi
Subject: Re: [PATCH 6/6] ios: Amend OOM message to be consistent everywhere.
Date: Thu, 07 May 2020 18:43:53 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Hi Tim.
This is OK.

    2020-05-07  Tim Rühsen  <address@hidden>
    
            * poke/pk-ios.c (pk_cmd_load_file): Amend OOM message to
            be the same everywhere ("No memory" to "Out of memory").
            (pk_cmd_mem): Likewise.
    ---
     ChangeLog     | 6 ++++++
     poke/pk-ios.c | 4 ++--
     2 files changed, 8 insertions(+), 2 deletions(-)
    
    diff --git a/poke/pk-ios.c b/poke/pk-ios.c
    index 1aeabd8c..54bb140f 100644
    --- a/poke/pk-ios.c
    +++ b/poke/pk-ios.c
    @@ -229,7 +229,7 @@ pk_cmd_load_file (int argc, struct pk_cmd_arg argv[], 
uint64_t uflags)
           if (asprintf (&filename, "%s/%s", poke_datadir, arg) == -1)
             {
               /* filename is undefined now, don't free */
    -          pk_puts ("No memory");
    +          pk_puts ("Out of memory");
               return 0;
             }
    
    @@ -269,7 +269,7 @@ pk_cmd_mem (int argc, struct pk_cmd_arg argv[], 
uint64_t uflags)
    
       if (asprintf (&mem_name, "*%s*", arg_str) == -1)
         {
    -      pk_puts (_("No memory"));
    +      pk_puts (_("Out of memory"));
           return 0;
         }
    
    --
    2.26.2



reply via email to

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