diff options
author | Joe Perches <joe@perches.com> | 2011-10-10 04:08:05 -0400 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2011-10-31 18:43:52 -0400 |
commit | 78ace70c4186c0d18314eb001637aa97d1585e65 (patch) | |
tree | 34227a6d50b93eb66df22ba130bea8ed932a5896 /fs/udf/udftime.c | |
parent | a40ecd7b3ccf520ff02da93e8d1ba6cd55c2e359 (diff) |
udf: Convert printks to pr_<level>
Use the current logging styles.
Convert a few printks that should have been udf_warn and udf_err.
Coalesce formats. Add #define pr_fmt.
Move an #include "udfdecls.h" above other includes in udftime.c
so pr_fmt works correctly. Strip prefixes from conversions as appropriate.
Reorder logging definitions in udfdecl.h
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/udf/udftime.c')
-rw-r--r-- | fs/udf/udftime.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/udf/udftime.c b/fs/udf/udftime.c index b8c828c4d200..1f11483eba6a 100644 --- a/fs/udf/udftime.c +++ b/fs/udf/udftime.c | |||
@@ -34,9 +34,10 @@ | |||
34 | * http://www.boulder.nist.gov/timefreq/pubs/bulletin/leapsecond.htm | 34 | * http://www.boulder.nist.gov/timefreq/pubs/bulletin/leapsecond.htm |
35 | */ | 35 | */ |
36 | 36 | ||
37 | #include "udfdecl.h" | ||
38 | |||
37 | #include <linux/types.h> | 39 | #include <linux/types.h> |
38 | #include <linux/kernel.h> | 40 | #include <linux/kernel.h> |
39 | #include "udfdecl.h" | ||
40 | 41 | ||
41 | #define EPOCH_YEAR 1970 | 42 | #define EPOCH_YEAR 1970 |
42 | 43 | ||