reiserfsprogs: use com_err in reiserfs_open
We dump failure messages to the terminal regardless of whether the caller wants them or not. This can be annoying when used as part of a general tool that tests to see which file system is on a device by calling its open routine. Signed-off-by: Jeff Mahoney <jeffm@suse.com>
This commit is contained in:
1 parent
59dc067e79
commit
3c0f2812b0
12 files changed
+100
-52
No files matched your search
@@ -1,9 +1,21 @@
|
||||
lib_LTLIBRARIES = libreiserfscore.la
|
||||
|
||||
reiserfsdir = $(includedir)/reiserfs
|
||||
reiserfs_HEADERS = reiserfs_err.h
|
||||
|
||||
reiserfs_err.c reiserfs_err.h: reiserfs_err.et
|
||||
$(RM) -f reisefs_err.c reiserfs_err.h
|
||||
compile_et reiserfs_err.et
|
||||
reiserfs_err.h: reiserfs_err.c
|
||||
|
||||
BUILT_SOURCES = reiserfs_err.h reiserfs_err.c
|
||||
CLEANFILES = reiserfs_err.h reiserfs_err.c
|
||||
|
||||
libreiserfscore_la_SOURCES = do_balan.c fix_node.c hashes.c ibalance.c \
|
||||
lbalance.c prints.c stree.c node_formats.c \
|
||||
reiserfslib.c bitmap.c journal.c xattr.c includes.h
|
||||
libreiserfscore_la_LIBADD = ../lib/libmisc.la
|
||||
reiserfslib.c bitmap.c journal.c xattr.c \
|
||||
includes.h reiserfs_err.c
|
||||
libreiserfscore_la_LIBADD = ../lib/libmisc.la -lcom_err
|
||||
|
||||
pkgconfigdir = $(libdir)/pkgconfig
|
||||
pkgconfig_DATA = reiserfscore.pc
|
||||
Reference in new issue
Block a user