summaryrefslogtreecommitdiff
blob: 058c5367770fd7efcf4f9f3e12504df449122352 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
From 6c0e605415f82509522597f8695be8797104ac4b Mon Sep 17 00:00:00 2001
From: Behdad Esfahbod <behdad@users.sourceforge.net>
Date: Tue, 19 Aug 2008 16:38:54 +0000
Subject: [PATCH] 2008-08-19  Behdad Esfahbod  <behdad@gnome.org>

        * src/cmdline.c: --nice was segfaulting.  Fix it.
---
 ChangeLog     |    4 ++++
 src/cmdline.c |    2 +-
 2 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 2d785af..87ac2a0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-08-19  Behdad Esfahbod  <behdad@gnome.org>
+
+	* src/cmdline.c: --nice was segfaulting.  Fix it.
+
 2008-07-28  Behdad Esfahbod  <behdad@gnome.org>
 
 	* NEWS:
diff --git a/src/cmdline.c b/src/cmdline.c
index b175a21..e4e6797 100644
--- a/src/cmdline.c
+++ b/src/cmdline.c
@@ -38,7 +38,7 @@ static const struct option const opts[] = {
   {"statefile", 1, 0, 's'},
   {"logfile", 1, 0, 'l'},
   {"foreground", 0, 0, 'f'},
-  {"nice", 0, 0, 'n'},
+  {"nice", 1, 0, 'n'},
   {"verbose", 1, 0, 'V'},
   {"debug", 0, 0, 'd'},
   {NULL, 0, 0, 0},
-- 
1.5.6.4