Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
dvblast
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
dvblast
Commits
2170fc81
Commit
2170fc81
authored
Aug 18, 2009
by
Christophe Massiot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* utils.c: Shorter stderr output.
parent
7782a83e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
util.c
util.c
+5
-5
No files found.
util.c
View file @
2170fc81
...
...
@@ -53,7 +53,7 @@ void msg_Info( void *_unused, const char *psz_format, ... )
char
psz_fmt
[
MAX_MSG
];
va_start
(
args
,
psz_format
);
snprintf
(
psz_fmt
,
MAX_MSG
,
"
dvblast
info: %s
\n
"
,
psz_format
);
snprintf
(
psz_fmt
,
MAX_MSG
,
"info: %s
\n
"
,
psz_format
);
vfprintf
(
stderr
,
psz_fmt
,
args
);
}
}
...
...
@@ -67,7 +67,7 @@ void msg_Err( void *_unused, const char *psz_format, ... )
char
psz_fmt
[
MAX_MSG
];
va_start
(
args
,
psz_format
);
snprintf
(
psz_fmt
,
MAX_MSG
,
"
dvblast
error: %s
\n
"
,
psz_format
);
snprintf
(
psz_fmt
,
MAX_MSG
,
"error: %s
\n
"
,
psz_format
);
vfprintf
(
stderr
,
psz_fmt
,
args
);
}
...
...
@@ -82,7 +82,7 @@ void msg_Warn( void *_unused, const char *psz_format, ... )
char
psz_fmt
[
MAX_MSG
];
va_start
(
args
,
psz_format
);
snprintf
(
psz_fmt
,
MAX_MSG
,
"
dvblast
warning: %s
\n
"
,
psz_format
);
snprintf
(
psz_fmt
,
MAX_MSG
,
"warning: %s
\n
"
,
psz_format
);
vfprintf
(
stderr
,
psz_fmt
,
args
);
}
}
...
...
@@ -98,7 +98,7 @@ void msg_Dbg( void *_unused, const char *psz_format, ... )
char
psz_fmt
[
MAX_MSG
];
va_start
(
args
,
psz_format
);
snprintf
(
psz_fmt
,
MAX_MSG
,
"d
vblast d
ebug: %s
\n
"
,
psz_format
);
snprintf
(
psz_fmt
,
MAX_MSG
,
"debug: %s
\n
"
,
psz_format
);
vfprintf
(
stderr
,
psz_fmt
,
args
);
}
}
...
...
@@ -149,7 +149,7 @@ void msleep( mtime_t delay )
void
hexDump
(
uint8_t
*
p_data
,
uint32_t
i_len
)
{
uint16_t
i
,
j
;
char
*
p_outline
;
char
*
p_hrdata
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment