summaryrefslogtreecommitdiffstats
path: root/schedutils/taskset.c
diff options
context:
space:
mode:
authorKarel Zak2006-12-07 00:26:58 +0100
committerKarel Zak2006-12-07 00:26:58 +0100
commitbaf39af15b1fe8570e6430788ec7cd4959fbc5d9 (patch)
tree296fc44adb3751a15c4cf3038af8c308358e4004 /schedutils/taskset.c
parentImported from util-linux-2.13-pre1 tarball. (diff)
downloadkernel-qcow2-util-linux-baf39af15b1fe8570e6430788ec7cd4959fbc5d9.tar.gz
kernel-qcow2-util-linux-baf39af15b1fe8570e6430788ec7cd4959fbc5d9.tar.xz
kernel-qcow2-util-linux-baf39af15b1fe8570e6430788ec7cd4959fbc5d9.zip
Imported from util-linux-2.13-pre2 tarball.
Diffstat (limited to 'schedutils/taskset.c')
-rw-r--r--schedutils/taskset.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/schedutils/taskset.c b/schedutils/taskset.c
index 5932620ef..2590d9956 100644
--- a/schedutils/taskset.c
+++ b/schedutils/taskset.c
@@ -39,7 +39,7 @@
static void show_usage(const char *cmd)
{
- fprintf(stderr, "taskset version " VERSION "\n");
+ fprintf(stderr, "taskset (%s)\n", PACKAGE_STRING);
fprintf(stderr, "usage: %s [options] [mask | cpu-list] [pid |"\
" cmd [args...]]\n", cmd);
fprintf(stderr, "set or get the affinity of a process\n\n");
@@ -254,7 +254,7 @@ int main(int argc, char *argv[])
c_opt = 1;
break;
case 'V':
- printf("taskset version " VERSION "\n");
+ printf("taskset (%s)\n", PACKAGE_STRING);
return 0;
case 'h':
ret = 0;