Commit Graph

13 Commits

Author SHA1 Message Date
Zbigniew Jędrzejewski-Szmek c007bb1b4d modules-load: fix memory leak when bailing out
Suggested-by: Mauro Dreissig <mukadr@gmail.com>
2012-12-04 14:03:40 +01:00
Václav Pavlín d42c44fb6d modules-load: initalize files to null 2012-09-21 16:11:07 +02:00
Shawn Landden 0d0f0c50d3 log.h: new log_oom() -> int -ENOMEM, use it
also a number of minor fixups and bug fixes: spelling, oom errors
that didn't print errors, not properly forwarding error codes,
few more consistency issues, et cetera
2012-07-26 11:48:26 +02:00
Shawn Landden 669241a076 use "Out of memory." consistantly (or with "\n")
glibc/glib both use "out of memory" consistantly so maybe we should
consider that instead of this.

Eliminates one string out of a number of binaries. Also fixes extra newline
in udev/scsi_id
2012-07-25 11:23:57 +02:00
Michal Schmidt b2fc39a683 modules-load: fix kernel cmdline parsing 2012-07-25 01:46:11 +02:00
Kay Sievers 91ac742501 modules load: rename kernel command line option to (rd.)modules-load= 2012-07-02 15:06:25 +02:00
Michal Schmidt e62abb6268 modules-load: use correct va_list logging function 2012-06-28 00:52:14 +02:00
Michal Schmidt 8f9c0b4cc1 modules-load: fix return value 2012-06-28 00:12:47 +02:00
Michal Schmidt 27fda47f40 modules-load: don't fail on builtin modules, better prints
Distinguish between non-existing modules, builtin modules, already
loaded modules, and modules we load.
Only the non-existing ones are treated as errors.

https://bugzilla.redhat.com/show_bug.cgi?id=817760
2012-06-27 21:54:24 +02:00
Lennart Poettering 03658d4fd6 modules-load: parse driver=/rd.driver= kernel command line option
This generalizes logic that already has been available in dracut before.
2012-06-22 11:39:04 +02:00
Kay Sievers 2c21044f05 util: split-out conf-file.[ch] 2012-05-07 19:01:24 +02:00
Lennart Poettering b562f5a57d build-sys: add stub makefiles to all subdirs to ease development with emacs 2012-04-13 21:37:59 +02:00
Kay Sievers dce818b390 move all tools to subdirs 2012-04-12 17:54:42 +02:00