Skip to content

Commit

Permalink
fix error: ‘debug’ undeclared again
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Tsai committed Nov 6, 2012
1 parent 99eef27 commit 0c6061f
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
4 changes: 2 additions & 2 deletions src/xfsclone.c
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ extern void readbitmap(char* device, image_head image_hdr, unsigned long* bitmap
read_ag_position = (xfs_off_t) read_ag_off * (xfs_off_t) BBSIZE;
read_ag_buf = malloc(read_ag_length);
if(read_ag_buf == NULL){
log_mesg(0, 1, 1, debug, "%s, %i, ERROR:%s", __func__, __LINE__, strerror(errno));
log_mesg(0, 1, 1, fs_opt.debug, "%s, %i, ERROR:%s", __func__, __LINE__, strerror(errno));
}
memset(read_ag_buf, 0, read_ag_length);

Expand Down Expand Up @@ -261,7 +261,7 @@ extern void readbitmap(char* device, image_head image_hdr, unsigned long* bitmap

btree_buf_data = malloc(source_blocksize);
if(btree_buf_data == NULL){
log_mesg(0, 1, 1, debug, "%s, %i, ERROR:%s", __func__, __LINE__, strerror(errno));
log_mesg(0, 1, 1, fs_opt.debug, "%s, %i, ERROR:%s", __func__, __LINE__, strerror(errno));
}
memset(btree_buf_data, 0, source_blocksize);
memmove(btree_buf_data, ag_hdr.xfs_agf, source_sectorsize);
Expand Down
32 changes: 16 additions & 16 deletions tests/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -50,19 +50,19 @@ PRE_UNINSTALL = :
POST_UNINSTALL = :
build_triplet = i686-pc-linux-gnu
host_triplet = i686-pc-linux-gnu
##am__append_1 = ext2.test \
## ext3.test ext4.test
##am__append_2 = btrfs.test
#am__append_1 = ext2.test \
# ext3.test ext4.test
#am__append_2 = btrfs.test
#am__append_3 = fat.test
##am__append_4 = reiserfs.test
#am__append_4 = reiserfs.test

#if ENABLE_REISER4
#TESTS += reiser4.test
#endif
##am__append_5 = hfsplus.test
##am__append_6 = xfs.test
##am__append_7 = exfat.test
##am__append_8 = ntfs.test
#am__append_5 = hfsplus.test
#am__append_6 = xfs.test
#am__append_7 = exfat.test
#am__append_8 = ntfs.test

#if ENABLE_UFS
#TESTS += ufs.test
Expand All @@ -71,8 +71,8 @@ host_triplet = i686-pc-linux-gnu
#if ENABLE_VMFS
#TESTS += vmfs.test
#endif
##am__append_9 = jfs.test
##am__append_10 = btrfs.test
#am__append_9 = jfs.test
#am__append_10 = btrfs.test
subdir = tests
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in TODO
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
Expand Down Expand Up @@ -106,19 +106,19 @@ AWK = mawk
CC = gcc
CCDEPMODE = depmode=gcc3
CFLAGS = -g -O2
CPP =
CPP = gcc -E
CPPFLAGS =
CYGPATH_W = echo
DEFS = -DHAVE_CONFIG_H
DEPDIR = .deps
ECHO_C =
ECHO_N = -n
ECHO_T =
EGREP =
EGREP = /bin/grep -E
EXEEXT =
GMSGFMT = /usr/bin/msgfmt
GMSGFMT_015 = /usr/bin/msgfmt
GREP =
GREP = /bin/grep
INSTALL = /usr/bin/install -c
INSTALL_DATA = ${INSTALL} -m 644
INSTALL_PROGRAM = ${INSTALL}
Expand All @@ -144,10 +144,10 @@ OBJEXT = o
PACKAGE = partclone
PACKAGE_BUGREPORT = [email protected]
PACKAGE_NAME = Partclone
PACKAGE_STRING = Partclone 0.2.55
PACKAGE_STRING = Partclone 0.2.56
PACKAGE_TARNAME = partclone
PACKAGE_URL =
PACKAGE_VERSION = 0.2.55
PACKAGE_VERSION = 0.2.56
PATH_SEPARATOR = :
PKG_CONFIG = /usr/bin/pkg-config
PKG_CONFIG_LIBDIR =
Expand All @@ -160,7 +160,7 @@ STRIP =
USE_NLS = yes
UUID_CFLAGS = -I/usr/include/uuid
UUID_LIBS = -luuid
VERSION = 0.2.55
VERSION = 0.2.56
XGETTEXT = /usr/bin/xgettext
XGETTEXT_015 = /usr/bin/xgettext
abs_builddir = /home/thomas/work_house/partclone/tests
Expand Down

0 comments on commit 0c6061f

Please sign in to comment.