summaryrefslogtreecommitdiffstats
path: root/misc-utils/findmnt.c
diff options
context:
space:
mode:
authorKarel Zak2012-05-15 17:44:37 +0200
committerKarel Zak2012-05-15 17:44:37 +0200
commitdb41a4298f0719d7197e073b281ce9d36ed02820 (patch)
tree2b2f05c7946b31d0da94d9824b90f34ad375f25b /misc-utils/findmnt.c
parentsulogin: cleanup strtoxx_or_err() (diff)
downloadkernel-qcow2-util-linux-db41a4298f0719d7197e073b281ce9d36ed02820.tar.gz
kernel-qcow2-util-linux-db41a4298f0719d7197e073b281ce9d36ed02820.tar.xz
kernel-qcow2-util-linux-db41a4298f0719d7197e073b281ce9d36ed02820.zip
misc-utils: cleanup strtoxx_or_err()
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'misc-utils/findmnt.c')
-rw-r--r--misc-utils/findmnt.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/misc-utils/findmnt.c b/misc-utils/findmnt.c
index dc01d94ad..1d34696c3 100644
--- a/misc-utils/findmnt.c
+++ b/misc-utils/findmnt.c
@@ -1187,8 +1187,7 @@ int main(int argc, char *argv[])
flags |= FL_NOSWAPMATCH;
break;
case 'w':
- timeout = strtol_or_err(optarg,
- _("failed to parse timeout"));
+ timeout = strtos32_or_err(optarg, _("invalid timeout argument"));
break;
case 'V':
printf(UTIL_LINUX_VERSION);