Replace all occurrences of vdbg with vinfo

This commit is contained in:
Gregory Nutt
2016-06-11 11:59:51 -06:00
parent 3a74a438d9
commit fc3540cffe
845 changed files with 5817 additions and 5817 deletions
+13 -13
View File
@@ -138,7 +138,7 @@ static int binfs_open(FAR struct file *filep, FAR const char *relpath,
{
int index;
fvdbg("Open '%s'\n", relpath);
finfo("Open '%s'\n", relpath);
/* BINFS is read-only. Any attempt to open with any kind of write
* access is not permitted.
@@ -173,7 +173,7 @@ static int binfs_open(FAR struct file *filep, FAR const char *relpath,
static int binfs_close(FAR struct file *filep)
{
fvdbg("Closing\n");
finfo("Closing\n");
return OK;
}
@@ -185,7 +185,7 @@ static ssize_t binfs_read(FAR struct file *filep, char *buffer, size_t buflen)
{
/* Reading is not supported. Just return end-of-file */
fvdbg("Read %d bytes from offset %d\n", buflen, filep->f_pos);
finfo("Read %d bytes from offset %d\n", buflen, filep->f_pos);
return 0;
}
@@ -197,7 +197,7 @@ static int binfs_ioctl(FAR struct file *filep, int cmd, unsigned long arg)
{
int ret;
fvdbg("cmd: %d arg: %08lx\n", cmd, arg);
finfo("cmd: %d arg: %08lx\n", cmd, arg);
/* Only one IOCTL command is supported */
@@ -237,7 +237,7 @@ static int binfs_ioctl(FAR struct file *filep, int cmd, unsigned long arg)
static int binfs_dup(FAR const struct file *oldp, FAR struct file *newp)
{
fvdbg("Dup %p->%p\n", oldp, newp);
finfo("Dup %p->%p\n", oldp, newp);
/* Copy the index from the old to the new file structure */
@@ -256,7 +256,7 @@ static int binfs_dup(FAR const struct file *oldp, FAR struct file *newp)
static int binfs_opendir(struct inode *mountpt, const char *relpath,
struct fs_dirent_s *dir)
{
fvdbg("relpath: \"%s\"\n", relpath ? relpath : "NULL");
finfo("relpath: \"%s\"\n", relpath ? relpath : "NULL");
/* The requested directory must be the volume-relative "root" directory */
@@ -294,14 +294,14 @@ static int binfs_readdir(struct inode *mountpt, struct fs_dirent_s *dir)
* special error -ENOENT
*/
fvdbg("Entry %d: End of directory\n", index);
finfo("Entry %d: End of directory\n", index);
ret = -ENOENT;
}
else
{
/* Save the filename and file type */
fvdbg("Entry %d: \"%s\"\n", index, name);
finfo("Entry %d: \"%s\"\n", index, name);
dir->fd_dir.d_type = DTYPE_FILE;
strncpy(dir->fd_dir.d_name, name, NAME_MAX+1);
@@ -331,7 +331,7 @@ static int binfs_readdir(struct inode *mountpt, struct fs_dirent_s *dir)
static int binfs_rewinddir(struct inode *mountpt, struct fs_dirent_s *dir)
{
fvdbg("Entry\n");
finfo("Entry\n");
dir->u.binfs.fb_index = 0;
return OK;
@@ -351,7 +351,7 @@ static int binfs_rewinddir(struct inode *mountpt, struct fs_dirent_s *dir)
static int binfs_bind(FAR struct inode *blkdriver, const void *data,
void **handle)
{
fvdbg("Entry\n");
finfo("Entry\n");
return OK;
}
@@ -366,7 +366,7 @@ static int binfs_bind(FAR struct inode *blkdriver, const void *data,
static int binfs_unbind(FAR void *handle, FAR struct inode **blkdriver,
unsigned int flags)
{
fvdbg("Entry\n");
finfo("Entry\n");
return OK;
}
@@ -379,7 +379,7 @@ static int binfs_unbind(FAR void *handle, FAR struct inode **blkdriver,
static int binfs_statfs(struct inode *mountpt, struct statfs *buf)
{
fvdbg("Entry\n");
finfo("Entry\n");
/* Fill in the statfs info */
@@ -402,7 +402,7 @@ static int binfs_statfs(struct inode *mountpt, struct statfs *buf)
static int binfs_stat(struct inode *mountpt, const char *relpath, struct stat *buf)
{
fvdbg("Entry\n");
finfo("Entry\n");
/* The requested directory must be the volume-relative "root" directory */