Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
vfio: don't display error if no pci devices are assigned to container
[vpp.git]
/
src
/
vppinfra
/
unformat.c
diff --git
a/src/vppinfra/unformat.c
b/src/vppinfra/unformat.c
index
5b17562
..
365cdb1
100644
(file)
--- a/
src/vppinfra/unformat.c
+++ b/
src/vppinfra/unformat.c
@@
-167,7
+167,7
@@
di (unformat_input_t * i)
#endif
/* Parse delimited vector string. If string starts with { then string
#endif
/* Parse delimited vector string. If string starts with { then string
- is delimited by bal
e
nced parenthesis. Other string is delimited by
+ is delimited by bal
a
nced parenthesis. Other string is delimited by
white space. {} were chosen since they are special to the shell. */
static uword
unformat_string (unformat_input_t * input,
white space. {} were chosen since they are special to the shell. */
static uword
unformat_string (unformat_input_t * input,
@@
-1037,7
+1037,7
@@
unformat_init_vector (unformat_input_t * input, u8 * vector_string)
#ifdef CLIB_UNIX
static uword
#ifdef CLIB_UNIX
static uword
-
unix
_file_fill_buffer (unformat_input_t * input)
+
clib
_file_fill_buffer (unformat_input_t * input)
{
int fd = pointer_to_uword (input->fill_buffer_arg);
uword l, n;
{
int fd = pointer_to_uword (input->fill_buffer_arg);
uword l, n;
@@
-1055,9
+1055,9
@@
unix_file_fill_buffer (unformat_input_t * input)
}
void
}
void
-unformat_init_
unix
_file (unformat_input_t * input, int file_descriptor)
+unformat_init_
clib
_file (unformat_input_t * input, int file_descriptor)
{
{
- unformat_init (input,
unix
_file_fill_buffer,
+ unformat_init (input,
clib
_file_fill_buffer,
uword_to_pointer (file_descriptor, void *));
}
uword_to_pointer (file_descriptor, void *));
}