X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Ftests%2Fflock.c;h=169f371cd47538d442c12804eedb123f55f53ce0;hb=c28933602a6971739cb5ec3a1e920409ff19b01e;hp=b2b9354eb61a6f793fad0c83c53008e27c0a4104;hpb=0f8dca08a4f68cba82c2c822998ecc309d3b7aaf;p=fs%2Flustre-release.git diff --git a/lustre/tests/flock.c b/lustre/tests/flock.c index b2b9354..169f371 100644 --- a/lustre/tests/flock.c +++ b/lustre/tests/flock.c @@ -1,6 +1,4 @@ -/* -*- mode: c; c-basic-offset: 8; indent-tabs-mode: nil; -*- - * vim:expandtab:shiftwidth=8:tabstop=8: - * +/* * GPL HEADER START * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. @@ -28,6 +26,8 @@ /* * Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved. * Use is subject to license terms. + * + * Copyright (c) 2015, Intel Corporation. */ /* * This file is part of Lustre, http://www.lustre.org/ @@ -177,7 +177,7 @@ void t21() fd = open(file, O_RDWR|O_CREAT, (mode_t)0666); if (fd < 0) { - printf("error open file: %m\n", file); + printf("open(%s) error: %s\n", file, strerror(errno)); exit(-1); }