diff options
author | David Teigland <teigland@redhat.com> | 2007-11-15 10:01:13 -0500 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2008-01-25 03:08:04 -0500 |
commit | 00c134756c5ad570a1ad3d6f93a67fc9c25a67ea (patch) | |
tree | 36176240919582d17d4655a1838e1b934ede9cb8 /fs | |
parent | 0b7580c786a5feda6291fe68ead3a1b92b6b35b8 (diff) |
[GFS2] tidy up error message
Print error with log_error() to be consistent with others.
Signed-off-by: David Teigland <teigland@redhat.com>
Signed-off-by: Fabio M. Di Nitto <fabbione@ubuntu.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/gfs2/locking/dlm/mount.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/gfs2/locking/dlm/mount.c b/fs/gfs2/locking/dlm/mount.c index ab301023094f..f2efff424224 100644 --- a/fs/gfs2/locking/dlm/mount.c +++ b/fs/gfs2/locking/dlm/mount.c | |||
@@ -68,8 +68,7 @@ static int make_args(struct gdlm_ls *ls, char *data_arg, int *nodir) | |||
68 | strncpy(data, data_arg, 255); | 68 | strncpy(data, data_arg, 255); |
69 | 69 | ||
70 | if (!strlen(data)) { | 70 | if (!strlen(data)) { |
71 | printk(KERN_ERR | 71 | log_error("no mount options, (u)mount helpers not installed"); |
72 | "DLM/GFS2/GFS ERROR: (u)mount helpers are not installed!\n"); | ||
73 | return -EINVAL; | 72 | return -EINVAL; |
74 | } | 73 | } |
75 | 74 | ||