[hackers] [slock] fixed missing new lines || anselm

From: <hg_AT_suckless.org>
Date: Thu, 9 Feb 2012 20:18:46 +0100 (CET)

changeset: 47:dc1bedfa1411
tag: tip
user: anselm_AT_garbe.us
date: Thu Feb 09 20:18:49 2012 +0100
files: slock.c
description:
fixed missing new lines


diff -r 91e329fb41b7 -r dc1bedfa1411 slock.c
--- a/slock.c Sun Feb 05 16:41:31 2012 +0100
+++ b/slock.c Thu Feb 09 20:18:49 2012 +0100
_AT_@ -207,7 +207,7 @@
 
 static void
 usage(void) {
- fprintf(stderr, "usage: slock [-v]");
+ fprintf(stderr, "usage: slock [-v]\n");
         exit(EXIT_FAILURE);
 }
 
_AT_@ -220,7 +220,7 @@
         int screen;
 
         if((argc == 2) && !strcmp("-v", argv[1]))
- die("slock-%s, © 2006-2012 Anselm R Garbe", VERSION);
+ die("slock-%s, © 2006-2012 Anselm R Garbe\n", VERSION);
         else if(argc != 1)
                 usage();
 
Received on Thu Feb 09 2012 - 20:18:46 CET

This archive was generated by hypermail 2.3.0 : Thu Feb 09 2012 - 20:24:10 CET