[Ovirt-devel] [PATCH] ovirt-uninstall-node: sync one more warn function with the rest

Jim Meyering jim at meyering.net
Fri Nov 7 17:34:59 UTC 2008


This sync's one warn definition with the 6 others.
With this, they're all the same:
(I'm looking at factoring them, now)

  $ g submodule -q foreach "git grep -h '^warn' || :"
  warn() { printf '%s: %s\n' "$ME" "$*" >&2; }
  warn() { printf '%s: %s\n' "$ME" "$*" >&2; }
  warn() { printf '%s: %s\n' "$ME" "$*" >&2; }
  warn() { printf '%s: %s\n' "$ME" "$*" >&2; }
  warn() { printf '%s: %s\n' "$ME" "$*" >&2; }
  warn() { printf '%s: %s\n' "$ME" "$*" >&2; }
  warn() { printf '%s: %s\n' "$ME" "$*" >&2; }

>From d07cbd7da7b19593ca22acaf5ce6d8eee3729db2 Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering at redhat.com>
Date: Fri, 7 Nov 2008 18:32:38 +0100
Subject: [PATCH] ovirt-uninstall-node: sync one more warn function with the rest

---
 ovirt-listen-awake/ovirt-uninstall-node |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ovirt-listen-awake/ovirt-uninstall-node b/ovirt-listen-awake/ovirt-uninstall-node
index 1046a37..ea16a61 100755
--- a/ovirt-listen-awake/ovirt-uninstall-node
+++ b/ovirt-listen-awake/ovirt-uninstall-node
@@ -4,7 +4,7 @@

 PATH=$PATH:/sbin:/usr/sbin
 ME=$(basename "$0")
-warn() { printf "$ME: $@\n" >&2; }
+warn() { printf '%s: %s\n' "$ME" "$*" >&2; }
 die() { warn "$@"; exit 1; }

 # first, check to see we are root
--
1.6.0.3.866.gc189b




More information about the ovirt-devel mailing list