On Mon, 2006-01-23 at 20:41 +0100, Samuel Thibault wrote: > Hi, > > Here is an (I guess) obvious fixup:
Doesn't save you from writing a changelog entry, though :) I checked this in. Thanks! Marcus > --- console/console-orig.c 2006-01-23 20:39:56.000000000 +0100 > +++ console/console.c 2006-01-23 20:40:03.000000000 +0100 > @@ -1999,7 +1999,7 @@ main (int argc, char **argv) > struct netnode root_nn = { vcons: 0 }; > > cons = malloc (sizeof (struct cons)); > - if (!malloc) > + if (!cons) > error (1, ENOMEM, "Cannot create console structure"); > mutex_init (&cons->lock); > cons->encoding = NULL; > > Regards, > Samuel > > > _______________________________________________ > Bug-hurd mailing list > Bug-hurd@gnu.org > http://lists.gnu.org/mailman/listinfo/bug-hurd _______________________________________________ Bug-hurd mailing list Bug-hurd@gnu.org http://lists.gnu.org/mailman/listinfo/bug-hurd