summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
7c5e552)
Signed-off-by: Geoff Levand <geoff@infradead.org>
int main(int argc, char **argv)
{
struct discover_context *ctx;
int main(int argc, char **argv)
{
struct discover_context *ctx;
if (argc != 3) {
fprintf(stderr, "usage: %s <basedir> <devname>\n", argv[0]);
if (argc != 3) {
fprintf(stderr, "usage: %s <basedir> <devname>\n", argv[0]);
ctx->device = talloc_zero(ctx, struct device);
ctx->device->id = talloc_strdup(ctx->device, argv[2]);
ctx->device = talloc_zero(ctx, struct device);
ctx->device->id = talloc_strdup(ctx->device, argv[2]);
- rc = iterate_parsers(ctx);