main.c (bdac5c2b243f68ec15f8203c3348ae79fee8e8d8) | main.c (e306220cb7b7c2948f191414ab06851e143b54c1) |
---|---|
1// SPDX-License-Identifier: GPL-2.0 2/* 3 * Boot config tool for initrd image 4 */ 5#include <stdio.h> 6#include <stdlib.h> 7#include <sys/types.h> 8#include <sys/stat.h> --- 377 unchanged lines hidden (view full) --- 386 if (ret < 0) { 387 show_xbc_error(data, msg, pos); 388 free(data); 389 free(buf); 390 391 return ret; 392 } 393 printf("Apply %s to %s\n", xbc_path, path); | 1// SPDX-License-Identifier: GPL-2.0 2/* 3 * Boot config tool for initrd image 4 */ 5#include <stdio.h> 6#include <stdlib.h> 7#include <sys/types.h> 8#include <sys/stat.h> --- 377 unchanged lines hidden (view full) --- 386 if (ret < 0) { 387 show_xbc_error(data, msg, pos); 388 free(data); 389 free(buf); 390 391 return ret; 392 } 393 printf("Apply %s to %s\n", xbc_path, path); |
394 xbc_get_info(&ret, NULL); |
|
394 printf("\tNumber of nodes: %d\n", ret); 395 printf("\tSize: %u bytes\n", (unsigned int)size); 396 printf("\tChecksum: %d\n", (unsigned int)csum); 397 398 /* TODO: Check the options by schema */ 399 xbc_destroy_all(); 400 free(buf); 401 --- 125 unchanged lines hidden --- | 395 printf("\tNumber of nodes: %d\n", ret); 396 printf("\tSize: %u bytes\n", (unsigned int)size); 397 printf("\tChecksum: %d\n", (unsigned int)csum); 398 399 /* TODO: Check the options by schema */ 400 xbc_destroy_all(); 401 free(buf); 402 --- 125 unchanged lines hidden --- |