Hi Philippe,

Philippe De Muyter wrote:
Just a little fix in an error printk.

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

Applied, thanks.

Regards
Greg



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;

--
------------------------------------------------------------------------
Greg Ungerer  --  Chief Software Dude       EMAIL:     [EMAIL PROTECTED]
Secure Computing Corporation                PHONE:       +61 7 3435 2888
825 Stanley St,                             FAX:         +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia         WEB: http://www.SnapGear.com
_______________________________________________
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