Skip to content

Commit 45662c0

Browse files
committed
Update ltfs_arch_ops.h
1 parent 35760f9 commit 45662c0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/libltfs/arch/ltfs_arch_ops.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,9 +159,9 @@ extern "C" {
159159
#define PERMISSION_WRITE 0222
160160
#define INVALID_KEY (-1U)
161161

162-
#define arch_vsprintf vsprintf
162+
#define arch_vsprintf(buffer,unused, fmt, ...) vsprintf((buffer), (fmt), __VA_ARGS__)
163163

164-
#define arch_sprintf sprintf
164+
#define arch_sprintf(buffer,unused, fmt, ...) sprintf((buffer), (fmt), __VA_ARGS__)
165165

166166
#define arch_sscanf sscanf
167167

0 commit comments

Comments
 (0)