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
@@ -29,6 +29,10 @@ AC_CHECK_LIB(uuid, uuid_generate, , AC_MSG_WARN(libuuid could not be found))
|
||||
UUID_LIBS="$LIBS"
|
||||
AC_SUBST(UUID_LIBS)
|
||||
|
||||
AC_CHECK_LIB(com_err, _et_list, , AC_MSG_WARN(libcom_err could not be found))
|
||||
COM_ERR_LIBS="$LIBS"
|
||||
AC_SUBST(COM_ERR_LIBS)
|
||||
|
||||
dnl Checks for header files.
|
||||
AC_HEADER_STDC
|
||||
AC_CHECK_HEADERS(fcntl.h limits.h malloc.h sys/ioctl.h unistd.h uuid/uuid.h)
|
||||
|
||||
Reference in new issue
Block a user