diff options
| author | christos <christos@NetBSD.org> | 2015-11-16 17:09:56 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2015-11-16 17:09:56 +0000 |
| commit | 7e845a26b0affa7f6c5930a6fcf8bf60afa4be86 (patch) | |
| tree | e6582c9bb989d7dda5e298759ac0cba34d76b7d4 /include/protocols | |
| parent | 639a89178538638b401ed210c94ac38e63c69207 (diff) | |
PR/50434: Louis Guillaume: Bump the in and out formats to 511 (NAME_MAX)
Diffstat (limited to 'include/protocols')
| -rw-r--r-- | include/protocols/dumprestore.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/protocols/dumprestore.h b/include/protocols/dumprestore.h index 51690576527..e6136e24cad 100644 --- a/include/protocols/dumprestore.h +++ b/include/protocols/dumprestore.h @@ -1,4 +1,4 @@ -/* $NetBSD: dumprestore.h,v 1.16 2009/01/11 03:04:12 christos Exp $ */ +/* $NetBSD: dumprestore.h,v 1.17 2015/11/16 17:09:56 christos Exp $ */ /* * Copyright (c) 1980, 1993 @@ -152,8 +152,9 @@ union u_spcl { #define DR_NEWINODEFMT 0x0002 /* new format inodes on tape */ #define DR_EXTATTRIBUTES 0x8000 /* linux: extended attributes */ -#define DUMPOUTFMT "%-16s %c %s" /* for printf */ +/* 511 == NAME_MAX */ +#define DUMPOUTFMT "%-511s %c %s" /* for printf */ /* name, level, ctime(date) */ -#define DUMPINFMT "%16s %c %[^\n]\n" /* inverse for scanf */ +#define DUMPINFMT "%511s %c %[^\n]\n" /* inverse for scanf */ #endif /* !_PROTOCOLS_DUMPRESTORE_H_ */ |
