Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
debug.c File Reference
#include "debug.h"

Go to the source code of this file.

Functions

void __ntfs_warning (const char *function, const struct super_block *sb, const char *fmt,...)
 
void __ntfs_error (const char *function, const struct super_block *sb, const char *fmt,...)
 

Function Documentation

void __ntfs_error ( const char function,
const struct super_block sb,
const char fmt,
  ... 
)

__ntfs_error - output an error to the syslog : name of function outputting the error : super block of mounted ntfs filesystem : error string containing format specifications ..: a variable number of arguments specified in

Outputs an error to the syslog for the mounted ntfs filesystem described by .

and the corresponding .. is printf style format string containing the error string and the corresponding format arguments, respectively.

is the name of the function from which __ntfs_error is being called.

Note, you should be using debug.h::ntfs_error(, , ..) instead as this provides the parameter automatically.

Definition at line 94 of file debug.c.

void __ntfs_warning ( const char function,
const struct super_block sb,
const char fmt,
  ... 
)

__ntfs_warning - output a warning to the syslog : name of function outputting the warning : super block of mounted ntfs filesystem : warning string containing format specifications ..: a variable number of arguments specified in

Outputs a warning to the syslog for the mounted ntfs filesystem described by .

and the corresponding .. is printf style format string containing the warning string and the corresponding format arguments, respectively.

is the name of the function from which __ntfs_warning is being called.

Note, you should be using debug.h::ntfs_warning(, , ..) instead as this provides the parameter automatically.

Definition at line 50 of file debug.c.