mirror of
https://github.com/sheumann/hush.git
synced 2024-12-26 10:32:02 +00:00
moved to e2fsprogs too
This commit is contained in:
parent
d2a64d2fc2
commit
7eb6457c4c
@ -1,22 +0,0 @@
|
|||||||
/*
|
|
||||||
* File: e2fsbb.h
|
|
||||||
*
|
|
||||||
* Redefine a bunch of e2fsprogs stuff to use busybox routines
|
|
||||||
* instead. This makes upgrade between e2fsprogs versions easy.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef __E2FSBB_H__
|
|
||||||
#define __E2FSBB_H__ 1
|
|
||||||
|
|
||||||
#include "libbb.h"
|
|
||||||
|
|
||||||
#define _(x) x
|
|
||||||
|
|
||||||
#define com_err(w, c, fmt, args...) bb_error_msg(fmt, ## args)
|
|
||||||
|
|
||||||
#define fputs(msg, fd) bb_error_msg(msg)
|
|
||||||
#define fatal_error(msg, err) bb_error_msg_and_die(msg)
|
|
||||||
#define usage() bb_show_usage()
|
|
||||||
#define perror(msg) bb_perror_msg(msg)
|
|
||||||
|
|
||||||
#endif /* __E2FSBB_H__ */
|
|
Loading…
Reference in New Issue
Block a user