Hi Greg,

Just a little fix in an error printk.

Signed-off-by: Philippe De Muyter <[EMAIL PROTECTED]>

diff -r f8b279fd0eab fs/binfmt_flat.c
--- a/fs/binfmt_flat.c  Mon Mar 19 20:20:56 2007 -0700
+++ b/fs/binfmt_flat.c  Wed Mar 21 17:59:26 2007 +0100
@@ -558,7 +558,7 @@ static int load_flat_file(struct linux_b
                        if (!realdatastart)
                                realdatastart = (unsigned long) -ENOMEM;
                        printk("Unable to allocate RAM for process data, errno 
%d\n",
-                                       (int)-datapos);
+                                       (int)-realdatastart);
                        do_munmap(current->mm, textpos, text_len);
                        ret = realdatastart;
                        goto err;
-- 
Philippe De Muyter  phdm at macqel dot be  Tel +32 27029044
Macq Electronique SA  rue de l'Aeronef 2  B-1140 Bruxelles  Fax +32 27029077
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to