chiark / gitweb /
Extract looping over /proc/cmdline into a shared function
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 15 Feb 2014 23:08:59 +0000 (18:08 -0500)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 17 Feb 2014 07:26:22 +0000 (02:26 -0500)
commit141a79f491fd4bf5ea0d66039065c9f9649bfc0e
tree9e13ad2015007d047b195661d2945c603770bb98
parent8fe63cd4f16e1e7cdf528ff053f8eb4da7848455
Extract looping over /proc/cmdline into a shared function

In cryptsetup-generator automatic cleanup had to be replaced
with manual cleanup, and the code gets a bit longer. But existing
code had the issue that it returned negative values from main(),
which was wrong, so should be reworked anyway.
src/core/main.c
src/cryptsetup/cryptsetup-generator.c
src/fsck/fsck.c
src/fstab-generator/fstab-generator.c
src/modules-load/modules-load.c
src/quotacheck/quotacheck.c
src/shared/util.c
src/shared/util.h